#2F429D#2F429D
#2F429D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.149 H 269.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2F429D |
|---|---|
| RGB | rgb(47, 66, 157) |
| HSL | hsl(230, 54%, 40%) |
| HSV | hsv(230, 70%, 62%) |
| CMYK | cmyk(70.1%, 58%, 0%, 38.4%) |
| CIE-LAB | lab(31.66, 24.19, -51.83) |
| CIE-LCH | lch(31.66, 57.20, 295.02°) |
| OKLab | oklab(42.01% -0.0004 -0.1493) |
| OKLCH | oklch(42.01% 0.149 269.9) |
| XYZ | xyz(9.2042, 6.9342, 32.7451) |
| Luminance | 0.0693 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.86
Blueberry
#464196
ΔE00 4.18
Cobalt
#0047AB
ΔE00 4.23
Cobalt (survey)
#1E488F
ΔE00 4.85
Blue Blue
#2242C7
ΔE00 5.73
Darkslateblue
#483D8B
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F429D #9D8A2F
analogous
#2F799D #2F429D #532F9D
triadic
#2F429D #9D2F42 #429D2F
tetradic
#2F429D #9D2F79 #9D8A2F #2F9D53
square
#2F429D #9D2F79 #9D8A2F #2F9D53
split-complementary
#2F429D #9D532F #799D2F
monochromatic
#131A3F #212E6E #2F429D #4359C7 #7283D5
Accessibility & contrast
On white
8.80
#2F429D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2F429D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F429D
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F429D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F429D | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f429d; /* rgb */ color: rgb(47, 66, 157); /* oklch */ color: oklch(42.0% 0.149 269.9);
Tailwind
colors: {
custom: {
50: '#7676bb',
500: '#2f429d',
950: '#000000',
},
}SCSS
$custom: #2f429d; $custom-light: #7676bb; $custom-dark: #000000;
JSON
{
"hex": "#2f429d",
"rgb": {
"r": 47,
"g": 66,
"b": 157
},
"hsl": {
"h": 229.636,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.42009,
"c": 0.14929,
"h": 269.9
},
"luminance": 0.06935
}Semantic roles & 50–950 ramp
primary
#2F429D
secondary
#BCAE6B
accent
#C44BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81