#2F439E#2F439E
#2F439E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.149 H 269.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F439E |
|---|---|
| RGB | rgb(47, 67, 158) |
| HSL | hsl(229, 54%, 40%) |
| HSV | hsv(229, 70%, 62%) |
| CMYK | cmyk(70.3%, 57.6%, 0%, 38%) |
| CIE-LAB | lab(32.00, 23.90, -51.87) |
| CIE-LCH | lch(32.00, 57.11, 294.73°) |
| OKLab | oklab(42.29% -0.0012 -0.1494) |
| OKLCH | oklch(42.29% 0.149 269.5) |
| XYZ | xyz(9.3489, 7.0864, 33.2162) |
| Luminance | 0.0709 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.99
Sapphire (survey)
#2138AB
ΔE00 4.04
Blueberry
#464196
ΔE00 4.33
Cobalt (survey)
#1E488F
ΔE00 4.68
Blue Blue
#2242C7
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F439E #9E8A2F
analogous
#2F7A9E #2F439E #522F9E
triadic
#2F439E #9E2F43 #439E2F
tetradic
#2F439E #9E2F7A #9E8A2F #2F9E52
square
#2F439E #9E2F7A #9E8A2F #2F9E52
split-complementary
#2F439E #9E522F #7A9E2F
monochromatic
#131B40 #212F6F #2F439E #435BC7 #7284D5
Accessibility & contrast
On white
8.69
#2F439E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#2F439E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F439E
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F439E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F439E | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f439e; /* rgb */ color: rgb(47, 67, 158); /* oklch */ color: oklch(42.3% 0.149 269.5);
Tailwind
colors: {
custom: {
50: '#7676bb',
500: '#2f439e',
950: '#000000',
},
}SCSS
$custom: #2f439e; $custom-light: #7676bb; $custom-dark: #000000;
JSON
{
"hex": "#2f439e",
"rgb": {
"r": 47,
"g": 67,
"b": 158
},
"hsl": {
"h": 229.189,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.42292,
"c": 0.1494,
"h": 269.5
},
"luminance": 0.07087
}Semantic roles & 50–950 ramp
primary
#2F439E
secondary
#BDAE6C
accent
#C34ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81