#2F427C#2F427C
#2F427C is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.5% C 0.101 H 267.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2F427C |
|---|---|
| RGB | rgb(47, 66, 124) |
| HSL | hsl(225, 45%, 34%) |
| HSV | hsv(225, 62%, 49%) |
| CMYK | cmyk(62.1%, 46.8%, 0%, 51.4%) |
| CIE-LAB | lab(29.30, 11.88, -35.32) |
| CIE-LCH | lch(29.30, 37.26, 288.59°) |
| OKLab | oklab(39.48% -0.0036 -0.1007) |
| OKLCH | oklch(39.48% 0.101 267.9) |
| XYZ | xyz(6.7574, 5.9554, 19.8583) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.45
Darkish Blue
#014182
ΔE00 5.05
Twilight Blue
#0A437A
ΔE00 5.45
Marine Blue
#01386A
ΔE00 6.21
Blueberry
#464196
ΔE00 6.57
Twilight
#4E518B
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F427C #7C692F
analogous
#2F687C #2F427C #422F7C
triadic
#2F427C #7C2F42 #427C2F
tetradic
#2F427C #7C2F68 #7C692F #2F7C42
square
#2F427C #7C2F68 #7C692F #2F7C42
split-complementary
#2F427C #7C422F #687C2F
monochromatic
#0D1323 #1E2A50 #2F427C #405AA8 #627AC3
Accessibility & contrast
On white
9.58
#2F427C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2F427C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F427C
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F427C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F427C | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27497E
Deuteranopia (green-blind)
#1C427B
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f427c; /* rgb */ color: rgb(47, 66, 124); /* oklch */ color: oklch(39.5% 0.101 267.9);
Tailwind
colors: {
custom: {
50: '#6f76a2',
500: '#2f427c',
950: '#000000',
},
}SCSS
$custom: #2f427c; $custom-light: #6f76a2; $custom-dark: #000000;
JSON
{
"hex": "#2f427c",
"rgb": {
"r": 47,
"g": 66,
"b": 124
},
"hsl": {
"h": 225.195,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.39475,
"c": 0.10078,
"h": 267.9
},
"luminance": 0.05956
}Semantic roles & 50–950 ramp
primary
#2F427C
secondary
#AA975C
accent
#B553D5
background
#F7F7FA
surface
#EDEDF3
border
#C8C8CD
text
#08080F
muted
#7B7B7F