colors
Back to gallery

Spartan Ptah Royal

#2f5fd7
Notes

Spartan Ptah Royal (#2F5FD7) is a true azure with a vibrant character. It holds its own as a focal accent, carrying visual weight without tipping into neon territory. Its HSL profile (223°, 68%, 51%) places it in the balanced band at a mid lightness. It works across type, buttons, and borders, saturated enough to feel deliberate but balanced enough to not fight the rest of the palette. For a confident two-color system, pair it with its complementary amber. For something softer, pull in its analogous neighbors on either side of the wheel.

HEX
#2f5fd7
RGB
rgb(47, 95, 215)
HSL
hsl(223, 68%, 51%)
HWB
hwb(223 18% 16%)
OKLCH
oklch(52.5% 0.192 264.3)
P3
color(display-p3 0.2313 0.3681 0.8138)
HSV
hsv(223, 78%, 84%)
LAB
lab(43.79% 26.88 -66.17)
LCH
lch(43.79% 71.42 292.10)
CMYK
cmyk(78%, 56%, 0%, 16%)

Etymology

Spartan
adjective

Greek Spartiátēs, of Sparta — adjectival suffix referring to the Lacedaemonian warrior city. As a color modifier, spartan implies a saturated-and-disciplined-and-formal quality, the deep-rich color of Spartan-hoplite military-class crimson-and-bronze armor-and-cloak. Sits at the bold-and-formal end of the grid, parallel to austere and stern in tone.

Ptah
modifier

Egyptian Ptah, Memphis-creator-god. As a color modifier, ptah implies a Memphis-creator-and-craftsman-god quality, the visual register of Egyptian-Ptah-and-Memphis-temple hand-Memphis-creator-and-craftsman-god Egyptian-Ptah-and-Memphis-temple-and-Apis-bull ptah-and-Memphis-creator-and-craftsman-god surfaces under Egyptian-Ptah-and-Memphis-temple-and-Apis-bull Memphis-Saqqara-and-craftsman-workshop creator-craftsman-light. Sits at the modifier-and-myth end of the grid, parallel to thoth and isis in usage.

Royal
noun

The blue of European royal court dress and regalia from the late seventeenth century forward — the color of British peers' robes, French royal sashes, the lining of the crown-jewel cases. The color refers to a saturated, slightly violet-shifted blue with the matte finish of velvet or melton wool dyed to maximum intensity: deeper than cornflower, warmer than ultramarine, with the heraldic weight of a color reserved for monarchs and the official Crown.

Closest matches

The nearest named color in three reference sources, ranked by perceptual distance (ΔE76 in CIELAB). ΔE < 1 is imperceptible to most viewers; ΔE > 10 is clearly different. When two sources point to the same hex they’re merged into one tile; click any to open that color’s page.

Variations

Click any swatch to explore

Harmonies

Accessibility

Color-vision simulation

How this color appears to viewers with the four major color-vision-deficiency types. Computed via the Machado (2009) physiologically-based model. If a tile matches the original, the color reads the same to that viewer.

#2f5fd7
Original
#0070db
Protanopia
#0060d5
Deuteranopia
#007d92
Tritanopia
#5d5d5d
Achromatopsia
WCAG contrast

The color used as foreground text against pure white and pure black, with the contrast ratio and WCAG 2.1 grade. Aim for AA (4.5:1) for body text and AA Large (3:1) for 18 pt+ headlines; AAA (7:1) is the gold standard for long-form reading surfaces.

The quick brown foxSample body text at normal size. The wcag minimum for body contrast is 4.5:1 (AA) or 7:1 (AAA).
AAon White
5.62:1
The quick brown foxSample body text at normal size. The wcag minimum for body contrast is 4.5:1 (AA) or 7:1 (AAA).
AA Largeon Black
3.74:1

Wide gamut

Display P3 representation

The CSS Color 4 wide-gamut form of this color. Both swatches render the same color on every display — the P3 form only diverges from sRGB when a designer pushes channels outside sRGB's reach.

sRGB hex
sRGB hex
##2F5FD7
Display P3
Display P3
color(display-p3 0.2313 0.3681 0.8138)
P3 has visible headroomOKLCH chroma 0.192

This color is chromatic enough that authoring it as P3 native (instead of clamping to sRGB) gives a perceptibly more saturated render on wide-gamut displays — modern Macs, iPhones, iPads, and most recent OLED laptops.

Related Colors

Canvas