#2F4672#2F4672
#2F4672 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.080 H 262.4°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4672 |
|---|---|
| RGB | rgb(47, 70, 114) |
| HSL | hsl(219, 42%, 32%) |
| HSV | hsv(219, 59%, 45%) |
| CMYK | cmyk(58.8%, 38.6%, 0%, 55.3%) |
| CIE-LAB | lab(29.91, 5.52, -28.06) |
| CIE-LCH | lch(29.91, 28.60, 281.12°) |
| OKLab | oklab(39.75% -0.0106 -0.0794) |
| OKLCH | oklch(39.75% 0.08 262.4) |
| XYZ | xyz(6.3987, 6.1991, 16.7757) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight Blue
#0A437A
ΔE00 4.64
Cobalt (survey)
#1E488F
ΔE00 4.79
Darkish Blue
#014182
ΔE00 5.01
Prussian Blue
#004577
ΔE00 5.71
Marine Blue
#01386A
ΔE00 5.91
Dusk Blue
#26538D
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4672 #725B2F
analogous
#2F6872 #2F4672 #3A2F72
triadic
#2F4672 #722F46 #46722F
tetradic
#2F4672 #722F68 #725B2F #2F723A
square
#2F4672 #722F68 #725B2F #2F723A
split-complementary
#2F4672 #723A2F #68722F
monochromatic
#0B111B #1D2B47 #2F4672 #41619D #5F7FBD
Accessibility & contrast
On white
9.38
#2F4672 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2F4672 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4672
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4672 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4672 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344A74
Deuteranopia (green-blind)
#2C4471
Tritanopia (blue-blind)
#035056
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f4672; /* rgb */ color: rgb(47, 70, 114); /* oklch */ color: oklch(39.8% 0.080 262.4);
Tailwind
colors: {
custom: {
50: '#6d799b',
500: '#2f4672',
950: '#000000',
},
}SCSS
$custom: #2f4672; $custom-light: #6d799b; $custom-dark: #000000;
JSON
{
"hex": "#2f4672",
"rgb": {
"r": 47,
"g": 70,
"b": 114
},
"hsl": {
"h": 219.403,
"s": 41.615,
"l": 31.569
},
"oklch": {
"l": 0.3975,
"c": 0.08013,
"h": 262.4
},
"luminance": 0.062
}Semantic roles & 50–950 ramp
primary
#2F4672
secondary
#A38A5A
accent
#A756D1
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E