#2F428E#2F428E
#2F428E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.128 H 269.4°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2F428E |
|---|---|
| RGB | rgb(47, 66, 142) |
| HSL | hsl(228, 50%, 37%) |
| HSV | hsv(228, 67%, 56%) |
| CMYK | cmyk(66.9%, 53.5%, 0%, 44.3%) |
| CIE-LAB | lab(30.53, 18.58, -44.51) |
| CIE-LCH | lch(30.53, 48.23, 292.66°) |
| OKLab | oklab(40.8% -0.0013 -0.1277) |
| OKLCH | oklch(40.8% 0.128 269.4) |
| XYZ | xyz(8.0013, 6.4530, 26.4098) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.92
Blueberry
#464196
ΔE00 4.64
Cobalt
#0047AB
ΔE00 5.24
Darkish Blue
#014182
ΔE00 5.53
Sapphire (survey)
#2138AB
ΔE00 5.74
Darkslateblue
#483D8B
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F428E #8E7B2F
analogous
#2F728E #2F428E #4C2F8E
triadic
#2F428E #8E2F42 #428E2F
tetradic
#2F428E #8E2F72 #8E7B2F #2F8E4C
square
#2F428E #8E2F72 #8E7B2F #2F8E4C
split-complementary
#2F428E #8E4C2F #728E2F
monochromatic
#111732 #202D60 #2F428E #3E57BC #6A7ECE
Accessibility & contrast
On white
9.17
#2F428E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2F428E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F428E
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F428E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F428E | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#124C91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f428e; /* rgb */ color: rgb(47, 66, 142); /* oklch */ color: oklch(40.8% 0.128 269.4);
Tailwind
colors: {
custom: {
50: '#7376b0',
500: '#2f428e',
950: '#000000',
},
}SCSS
$custom: #2f428e; $custom-light: #7376b0; $custom-dark: #000000;
JSON
{
"hex": "#2f428e",
"rgb": {
"r": 47,
"g": 66,
"b": 142
},
"hsl": {
"h": 228,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.40803,
"c": 0.12776,
"h": 269.4
},
"luminance": 0.06454
}Semantic roles & 50–950 ramp
primary
#2F428E
secondary
#B5A564
accent
#BE4EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F