#2F428B#2F428B
#2F428B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.123 H 269.3°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2F428B |
|---|---|
| RGB | rgb(47, 66, 139) |
| HSL | hsl(228, 49%, 36%) |
| HSV | hsv(228, 66%, 55%) |
| CMYK | cmyk(66.2%, 52.5%, 0%, 45.5%) |
| CIE-LAB | lab(30.31, 17.46, -43.01) |
| CIE-LCH | lch(30.31, 46.42, 292.10°) |
| OKLab | oklab(40.57% -0.0016 -0.1233) |
| OKLCH | oklch(40.57% 0.123 269.3) |
| XYZ | xyz(7.7791, 6.3641, 25.2395) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.87
Blueberry
#464196
ΔE00 4.88
Darkish Blue
#014182
ΔE00 5.35
Cobalt
#0047AB
ΔE00 5.55
Darkslateblue
#483D8B
ΔE00 5.88
Sapphire (survey)
#2138AB
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F428B #8B782F
analogous
#2F708B #2F428B #4A2F8B
triadic
#2F428B #8B2F42 #428B2F
tetradic
#2F428B #8B2F70 #8B782F #2F8B4A
square
#2F428B #8B2F70 #8B782F #2F8B4A
split-complementary
#2F428B #8B4A2F #708B2F
monochromatic
#101730 #202C5D #2F428B #3E58B9 #687DCC
Accessibility & contrast
On white
9.24
#2F428B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2F428B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F428B
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F428B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F428B | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#174C8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f428b; /* rgb */ color: rgb(47, 66, 139); /* oklch */ color: oklch(40.6% 0.123 269.3);
Tailwind
colors: {
custom: {
50: '#7276ad',
500: '#2f428b',
950: '#000000',
},
}SCSS
$custom: #2f428b; $custom-light: #7276ad; $custom-dark: #000000;
JSON
{
"hex": "#2f428b",
"rgb": {
"r": 47,
"g": 66,
"b": 139
},
"hsl": {
"h": 227.609,
"s": 49.462,
"l": 36.471
},
"oklch": {
"l": 0.40572,
"c": 0.12335,
"h": 269.3
},
"luminance": 0.06365
}Semantic roles & 50–950 ramp
primary
#2F428B
secondary
#B3A263
accent
#BC4FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F