#2F427E#2F427E
#2F427E is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.104 H 268.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2F427E |
|---|---|
| RGB | rgb(47, 66, 126) |
| HSL | hsl(226, 46%, 34%) |
| HSV | hsv(226, 63%, 49%) |
| CMYK | cmyk(62.7%, 47.6%, 0%, 50.6%) |
| CIE-LAB | lab(29.43, 12.62, -36.36) |
| CIE-LCH | lch(29.43, 38.49, 289.13°) |
| OKLab | oklab(39.62% -0.0033 -0.1038) |
| OKLCH | oklch(39.62% 0.104 268.2) |
| XYZ | xyz(6.8851, 6.0066, 20.5312) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.30
Darkish Blue
#014182
ΔE00 5.03
Twilight Blue
#0A437A
ΔE00 5.50
Blueberry
#464196
ΔE00 6.31
Marine Blue
#01386A
ΔE00 6.33
Darkslateblue
#483D8B
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F427E #7E6B2F
analogous
#2F6A7E #2F427E #442F7E
triadic
#2F427E #7E2F42 #427E2F
tetradic
#2F427E #7E2F6A #7E6B2F #2F7E44
square
#2F427E #7E2F6A #7E6B2F #2F7E44
split-complementary
#2F427E #7E442F #6A7E2F
monochromatic
#0E1325 #1E2B51 #2F427E #4059AB #637AC5
Accessibility & contrast
On white
9.54
#2F427E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2F427E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F427E
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F427E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F427E | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254980
Deuteranopia (green-blind)
#19427D
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f427e; /* rgb */ color: rgb(47, 66, 126); /* oklch */ color: oklch(39.6% 0.104 268.2);
Tailwind
colors: {
custom: {
50: '#6f76a4',
500: '#2f427e',
950: '#000000',
},
}SCSS
$custom: #2f427e; $custom-light: #6f76a4; $custom-dark: #000000;
JSON
{
"hex": "#2f427e",
"rgb": {
"r": 47,
"g": 66,
"b": 126
},
"hsl": {
"h": 225.57,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.39616,
"c": 0.10384,
"h": 268.2
},
"luminance": 0.06007
}Semantic roles & 50–950 ramp
primary
#2F427E
secondary
#AC995D
accent
#B652D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F