#2F428F#2F428F
#2F428F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.129 H 269.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2F428F |
|---|---|
| RGB | rgb(47, 66, 143) |
| HSL | hsl(228, 51%, 37%) |
| HSV | hsv(228, 67%, 56%) |
| CMYK | cmyk(67.1%, 53.8%, 0%, 43.9%) |
| CIE-LAB | lab(30.60, 18.96, -45.01) |
| CIE-LCH | lch(30.60, 48.84, 292.84°) |
| OKLab | oklab(40.88% -0.0012 -0.1292) |
| OKLCH | oklch(40.88% 0.129 269.5) |
| XYZ | xyz(8.0767, 6.4832, 26.8070) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.95
Blueberry
#464196
ΔE00 4.57
Cobalt
#0047AB
ΔE00 5.15
Sapphire (survey)
#2138AB
ΔE00 5.60
Darkish Blue
#014182
ΔE00 5.60
Darkslateblue
#483D8B
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F428F #8F7C2F
analogous
#2F728F #2F428F #4C2F8F
triadic
#2F428F #8F2F42 #428F2F
tetradic
#2F428F #8F2F72 #8F7C2F #2F8F4C
square
#2F428F #8F2F72 #8F7C2F #2F8F4C
split-complementary
#2F428F #8F4C2F #728F2F
monochromatic
#111733 #202D61 #2F428F #3E57BD #6A7ECE
Accessibility & contrast
On white
9.14
#2F428F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2F428F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F428F
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F428F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F428F | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#114D92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f428f; /* rgb */ color: rgb(47, 66, 143); /* oklch */ color: oklch(40.9% 0.129 269.5);
Tailwind
colors: {
custom: {
50: '#7376b0',
500: '#2f428f',
950: '#000000',
},
}SCSS
$custom: #2f428f; $custom-light: #7376b0; $custom-dark: #000000;
JSON
{
"hex": "#2f428f",
"rgb": {
"r": 47,
"g": 66,
"b": 143
},
"hsl": {
"h": 228.125,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.40881,
"c": 0.12923,
"h": 269.5
},
"luminance": 0.06484
}Semantic roles & 50–950 ramp
primary
#2F428F
secondary
#B5A565
accent
#BE4EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80