#2F419F#2F419F
#2F419F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.153 H 270.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2F419F |
|---|---|
| RGB | rgb(47, 65, 159) |
| HSL | hsl(230, 54%, 40%) |
| HSV | hsv(230, 70%, 62%) |
| CMYK | cmyk(70.4%, 59.1%, 0%, 37.6%) |
| CIE-LAB | lab(31.55, 25.60, -53.22) |
| CIE-LCH | lch(31.55, 59.05, 295.69°) |
| OKLab | oklab(41.98% 0.0005 -0.1534) |
| OKLCH | oklch(41.98% 0.153 270.2) |
| XYZ | xyz(9.3185, 6.8872, 33.6324) |
| Luminance | 0.0689 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.39
Blueberry
#464196
ΔE00 4.10
Cobalt
#0047AB
ΔE00 4.40
Cobalt (survey)
#1E488F
ΔE00 5.30
Blue Blue
#2242C7
ΔE00 5.41
Darkslateblue
#483D8B
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F419F #9F8D2F
analogous
#2F799F #2F419F #552F9F
triadic
#2F419F #9F2F41 #419F2F
tetradic
#2F419F #9F2F79 #9F8D2F #2F9F55
square
#2F419F #9F2F79 #9F8D2F #2F9F55
split-complementary
#2F419F #9F552F #799F2F
monochromatic
#131A41 #212E70 #2F419F #4459C8 #7383D6
Accessibility & contrast
On white
8.83
#2F419F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2F419F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F419F
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F419F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F419F | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f419f; /* rgb */ color: rgb(47, 65, 159); /* oklch */ color: oklch(42.0% 0.153 270.2);
Tailwind
colors: {
custom: {
50: '#7675bc',
500: '#2f419f',
950: '#000000',
},
}SCSS
$custom: #2f419f; $custom-light: #7675bc; $custom-dark: #000000;
JSON
{
"hex": "#2f419f",
"rgb": {
"r": 47,
"g": 65,
"b": 159
},
"hsl": {
"h": 230.357,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.41978,
"c": 0.15338,
"h": 270.2
},
"luminance": 0.06888
}Semantic roles & 50–950 ramp
primary
#2F419F
secondary
#BDB06D
accent
#C64ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81