#2F419E#2F419E
#2F419E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.152 H 270.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F419E |
|---|---|
| RGB | rgb(47, 65, 158) |
| HSL | hsl(230, 54%, 40%) |
| HSV | hsv(230, 70%, 62%) |
| CMYK | cmyk(70.3%, 58.9%, 0%, 38%) |
| CIE-LAB | lab(31.47, 25.23, -52.74) |
| CIE-LCH | lch(31.47, 58.46, 295.57°) |
| OKLab | oklab(41.89% 0.0005 -0.152) |
| OKLCH | oklch(41.89% 0.152 270.2) |
| XYZ | xyz(9.2320, 6.8527, 33.1773) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.49
Blueberry
#464196
ΔE00 4.08
Cobalt
#0047AB
ΔE00 4.42
Cobalt (survey)
#1E488F
ΔE00 5.21
Blue Blue
#2242C7
ΔE00 5.56
Darkslateblue
#483D8B
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F419E #9E8C2F
analogous
#2F799E #2F419E #542F9E
triadic
#2F419E #9E2F41 #419E2F
tetradic
#2F419E #9E2F79 #9E8C2F #2F9E54
square
#2F419E #9E2F79 #9E8C2F #2F9E54
split-complementary
#2F419E #9E542F #799E2F
monochromatic
#131A40 #212E6F #2F419E #4359C7 #7282D5
Accessibility & contrast
On white
8.86
#2F419E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2F419E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F419E
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F419E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F419E | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f419e; /* rgb */ color: rgb(47, 65, 158); /* oklch */ color: oklch(41.9% 0.152 270.2);
Tailwind
colors: {
custom: {
50: '#7675bb',
500: '#2f419e',
950: '#000000',
},
}SCSS
$custom: #2f419e; $custom-light: #7675bb; $custom-dark: #000000;
JSON
{
"hex": "#2f419e",
"rgb": {
"r": 47,
"g": 65,
"b": 158
},
"hsl": {
"h": 230.27,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.41893,
"c": 0.15198,
"h": 270.2
},
"luminance": 0.06854
}Semantic roles & 50–950 ramp
primary
#2F419E
secondary
#BDB06C
accent
#C64ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81