#2F429E#2F429E
#2F429E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.151 H 269.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2F429E |
|---|---|
| RGB | rgb(47, 66, 158) |
| HSL | hsl(230, 54%, 40%) |
| HSV | hsv(230, 70%, 62%) |
| CMYK | cmyk(70.3%, 58.2%, 0%, 38%) |
| CIE-LAB | lab(31.74, 24.56, -52.31) |
| CIE-LCH | lch(31.74, 57.79, 295.16°) |
| OKLab | oklab(42.09% -0.0004 -0.1507) |
| OKLCH | oklch(42.09% 0.151 269.9) |
| XYZ | xyz(9.2900, 6.9685, 33.1966) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.76
Blueberry
#464196
ΔE00 4.19
Cobalt
#0047AB
ΔE00 4.20
Cobalt (survey)
#1E488F
ΔE00 4.94
Blue Blue
#2242C7
ΔE00 5.58
Darkslateblue
#483D8B
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F429E #9E8B2F
analogous
#2F799E #2F429E #542F9E
triadic
#2F429E #9E2F42 #429E2F
tetradic
#2F429E #9E2F79 #9E8B2F #2F9E54
square
#2F429E #9E2F79 #9E8B2F #2F9E54
split-complementary
#2F429E #9E542F #799E2F
monochromatic
#131B40 #212E6F #2F429E #435AC7 #7283D5
Accessibility & contrast
On white
8.77
#2F429E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2F429E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F429E
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F429E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F429E | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f429e; /* rgb */ color: rgb(47, 66, 158); /* oklch */ color: oklch(42.1% 0.151 269.9);
Tailwind
colors: {
custom: {
50: '#7676bb',
500: '#2f429e',
950: '#000000',
},
}SCSS
$custom: #2f429e; $custom-light: #7676bb; $custom-dark: #000000;
JSON
{
"hex": "#2f429e",
"rgb": {
"r": 47,
"g": 66,
"b": 158
},
"hsl": {
"h": 229.73,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.42092,
"c": 0.15069,
"h": 269.9
},
"luminance": 0.06969
}Semantic roles & 50–950 ramp
primary
#2F429E
secondary
#BDAF6C
accent
#C44ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81