#2F427D#2F427D
#2F427D is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.5% C 0.102 H 268.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F427D |
|---|---|
| RGB | rgb(47, 66, 125) |
| HSL | hsl(225, 45%, 34%) |
| HSV | hsv(225, 62%, 49%) |
| CMYK | cmyk(62.4%, 47.2%, 0%, 51%) |
| CIE-LAB | lab(29.36, 12.24, -35.84) |
| CIE-LCH | lch(29.36, 37.87, 288.86°) |
| OKLab | oklab(39.55% -0.0034 -0.1023) |
| OKLCH | oklch(39.55% 0.102 268.1) |
| XYZ | xyz(6.8209, 5.9809, 20.1930) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.37
Darkish Blue
#014182
ΔE00 5.04
Twilight Blue
#0A437A
ΔE00 5.47
Marine Blue
#01386A
ΔE00 6.27
Blueberry
#464196
ΔE00 6.44
Twilight
#4E518B
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F427D #7D6A2F
analogous
#2F697D #2F427D #432F7D
triadic
#2F427D #7D2F42 #427D2F
tetradic
#2F427D #7D2F69 #7D6A2F #2F7D43
square
#2F427D #7D2F69 #7D6A2F #2F7D43
split-complementary
#2F427D #7D432F #697D2F
monochromatic
#0E1324 #1E2B51 #2F427D #4059A9 #627AC4
Accessibility & contrast
On white
9.56
#2F427D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2F427D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F427D
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F427D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F427D | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26497F
Deuteranopia (green-blind)
#1A427C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f427d; /* rgb */ color: rgb(47, 66, 125); /* oklch */ color: oklch(39.5% 0.102 268.1);
Tailwind
colors: {
custom: {
50: '#6f76a3',
500: '#2f427d',
950: '#000000',
},
}SCSS
$custom: #2f427d; $custom-light: #6f76a3; $custom-dark: #000000;
JSON
{
"hex": "#2f427d",
"rgb": {
"r": 47,
"g": 66,
"b": 125
},
"hsl": {
"h": 225.385,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.39545,
"c": 0.10232,
"h": 268.1
},
"luminance": 0.05981
}Semantic roles & 50–950 ramp
primary
#2F427D
secondary
#AB985D
accent
#B553D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F