#2F428C#2F428C
#2F428C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.125 H 269.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F428C |
|---|---|
| RGB | rgb(47, 66, 140) |
| HSL | hsl(228, 50%, 37%) |
| HSV | hsv(228, 66%, 55%) |
| CMYK | cmyk(66.4%, 52.9%, 0%, 45.1%) |
| CIE-LAB | lab(30.38, 17.84, -43.51) |
| CIE-LCH | lch(30.38, 47.02, 292.29°) |
| OKLab | oklab(40.65% -0.0015 -0.1248) |
| OKLCH | oklch(40.65% 0.125 269.3) |
| XYZ | xyz(7.8525, 6.3935, 25.6261) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.88
Blueberry
#464196
ΔE00 4.80
Darkish Blue
#014182
ΔE00 5.41
Cobalt
#0047AB
ΔE00 5.44
Darkslateblue
#483D8B
ΔE00 5.85
Sapphire (survey)
#2138AB
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F428C #8C792F
analogous
#2F718C #2F428C #4B2F8C
triadic
#2F428C #8C2F42 #428C2F
tetradic
#2F428C #8C2F71 #8C792F #2F8C4B
square
#2F428C #8C2F71 #8C792F #2F8C4B
split-complementary
#2F428C #8C4B2F #718C2F
monochromatic
#101730 #202C5E #2F428C #3E58BA #697DCD
Accessibility & contrast
On white
9.22
#2F428C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2F428C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F428C
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F428C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F428C | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#164C8F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f428c; /* rgb */ color: rgb(47, 66, 140); /* oklch */ color: oklch(40.6% 0.125 269.3);
Tailwind
colors: {
custom: {
50: '#7276ae',
500: '#2f428c',
950: '#000000',
},
}SCSS
$custom: #2f428c; $custom-light: #7276ae; $custom-dark: #000000;
JSON
{
"hex": "#2f428c",
"rgb": {
"r": 47,
"g": 66,
"b": 140
},
"hsl": {
"h": 227.742,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.40649,
"c": 0.12482,
"h": 269.3
},
"luminance": 0.06394
}Semantic roles & 50–950 ramp
primary
#2F428C
secondary
#B4A363
accent
#BD4FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F