#2F419D#2F419D
#2F419D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.151 H 270.2°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2F419D |
|---|---|
| RGB | rgb(47, 65, 157) |
| HSL | hsl(230, 54%, 40%) |
| HSV | hsv(230, 70%, 62%) |
| CMYK | cmyk(70.1%, 58.6%, 0%, 38.4%) |
| CIE-LAB | lab(31.39, 24.86, -52.26) |
| CIE-LCH | lch(31.39, 57.87, 295.44°) |
| OKLab | oklab(41.81% 0.0005 -0.1506) |
| OKLCH | oklch(41.81% 0.151 270.2) |
| XYZ | xyz(9.1463, 6.8184, 32.7258) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.59
Blueberry
#464196
ΔE00 4.06
Cobalt
#0047AB
ΔE00 4.45
Cobalt (survey)
#1E488F
ΔE00 5.12
Blue Blue
#2242C7
ΔE00 5.71
Darkslateblue
#483D8B
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F419D #9D8B2F
analogous
#2F789D #2F419D #542F9D
triadic
#2F419D #9D2F41 #419D2F
tetradic
#2F419D #9D2F78 #9D8B2F #2F9D54
square
#2F419D #9D2F78 #9D8B2F #2F9D54
split-complementary
#2F419D #9D542F #789D2F
monochromatic
#131A3F #212D6E #2F419D #4358C7 #7282D5
Accessibility & contrast
On white
8.88
#2F419D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2F419D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F419D
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F419D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F419D | 1.00 | 8.88 | 2.36 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f419d; /* rgb */ color: rgb(47, 65, 157); /* oklch */ color: oklch(41.8% 0.151 270.2);
Tailwind
colors: {
custom: {
50: '#7675bb',
500: '#2f419d',
950: '#000000',
},
}SCSS
$custom: #2f419d; $custom-light: #7675bb; $custom-dark: #000000;
JSON
{
"hex": "#2f419d",
"rgb": {
"r": 47,
"g": 65,
"b": 157
},
"hsl": {
"h": 230.182,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.41809,
"c": 0.15058,
"h": 270.2
},
"luminance": 0.06819
}Semantic roles & 50–950 ramp
primary
#2F419D
secondary
#BCAF6B
accent
#C54BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81