#2F439D#2F439D
#2F439D is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.148 H 269.5°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F439D |
|---|---|
| RGB | rgb(47, 67, 157) |
| HSL | hsl(229, 54%, 40%) |
| HSV | hsv(229, 70%, 62%) |
| CMYK | cmyk(70.1%, 57.3%, 0%, 38.4%) |
| CIE-LAB | lab(31.93, 23.52, -51.39) |
| CIE-LCH | lch(31.93, 56.52, 294.59°) |
| OKLab | oklab(42.21% -0.0012 -0.148) |
| OKLCH | oklch(42.21% 0.148 269.5) |
| XYZ | xyz(9.2632, 7.0521, 32.7648) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.02
Sapphire (survey)
#2138AB
ΔE00 4.14
Blueberry
#464196
ΔE00 4.32
Cobalt (survey)
#1E488F
ΔE00 4.59
Blue Blue
#2242C7
ΔE00 5.77
Darkslateblue
#483D8B
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F439D #9D892F
analogous
#2F7A9D #2F439D #522F9D
triadic
#2F439D #9D2F43 #439D2F
tetradic
#2F439D #9D2F7A #9D892F #2F9D52
square
#2F439D #9D2F7A #9D892F #2F9D52
split-complementary
#2F439D #9D522F #7A9D2F
monochromatic
#131B3F #212F6E #2F439D #435BC7 #7284D5
Accessibility & contrast
On white
8.71
#2F439D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2F439D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F439D
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F439D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F439D | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f439d; /* rgb */ color: rgb(47, 67, 157); /* oklch */ color: oklch(42.2% 0.148 269.5);
Tailwind
colors: {
custom: {
50: '#7676bb',
500: '#2f439d',
950: '#000000',
},
}SCSS
$custom: #2f439d; $custom-light: #7676bb; $custom-dark: #000000;
JSON
{
"hex": "#2f439d",
"rgb": {
"r": 47,
"g": 67,
"b": 157
},
"hsl": {
"h": 229.091,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.4221,
"c": 0.148,
"h": 269.5
},
"luminance": 0.07053
}Semantic roles & 50–950 ramp
primary
#2F439D
secondary
#BCAE6B
accent
#C34BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81