#2F429C#2F429C
#2F429C is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.148 H 269.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2F429C |
|---|---|
| RGB | rgb(47, 66, 156) |
| HSL | hsl(230, 54%, 40%) |
| HSV | hsv(230, 70%, 61%) |
| CMYK | cmyk(69.9%, 57.7%, 0%, 38.8%) |
| CIE-LAB | lab(31.58, 23.82, -51.35) |
| CIE-LCH | lch(31.58, 56.61, 294.88°) |
| OKLab | oklab(41.93% -0.0004 -0.1479) |
| OKLCH | oklch(41.93% 0.148 269.8) |
| XYZ | xyz(9.1192, 6.9002, 32.2973) |
| Luminance | 0.0690 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.96
Blueberry
#464196
ΔE00 4.17
Cobalt
#0047AB
ΔE00 4.26
Cobalt (survey)
#1E488F
ΔE00 4.76
Blue Blue
#2242C7
ΔE00 5.88
Darkslateblue
#483D8B
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F429C #9C892F
analogous
#2F799C #2F429C #522F9C
triadic
#2F429C #9C2F42 #429C2F
tetradic
#2F429C #9C2F79 #9C892F #2F9C52
square
#2F429C #9C2F79 #9C892F #2F9C52
split-complementary
#2F429C #9C522F #799C2F
monochromatic
#131A3E #212E6D #2F429C #4259C6 #7182D4
Accessibility & contrast
On white
8.82
#2F429C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2F429C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F429C
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F429C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F429C | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f429c; /* rgb */ color: rgb(47, 66, 156); /* oklch */ color: oklch(41.9% 0.148 269.8);
Tailwind
colors: {
custom: {
50: '#7676ba',
500: '#2f429c',
950: '#000000',
},
}SCSS
$custom: #2f429c; $custom-light: #7676ba; $custom-dark: #000000;
JSON
{
"hex": "#2f429c",
"rgb": {
"r": 47,
"g": 66,
"b": 156
},
"hsl": {
"h": 229.541,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.41926,
"c": 0.14788,
"h": 269.8
},
"luminance": 0.06901
}Semantic roles & 50–950 ramp
primary
#2F429C
secondary
#BCAE6B
accent
#C44BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81