#2F437F#2F437F
#2F437F is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.104 H 267.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2F437F |
|---|---|
| RGB | rgb(47, 67, 127) |
| HSL | hsl(225, 46%, 34%) |
| HSV | hsv(225, 63%, 50%) |
| CMYK | cmyk(63%, 47.2%, 0%, 50.2%) |
| CIE-LAB | lab(29.79, 12.31, -36.41) |
| CIE-LCH | lch(29.79, 38.43, 288.68°) |
| OKLab | oklab(39.91% -0.0042 -0.1039) |
| OKLCH | oklch(39.91% 0.104 267.7) |
| XYZ | xyz(7.0089, 6.1504, 20.8923) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.99
Darkish Blue
#014182
ΔE00 4.87
Twilight Blue
#0A437A
ΔE00 5.32
Marine Blue
#01386A
ΔE00 6.38
Blueberry
#464196
ΔE00 6.38
Twilight
#4E518B
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F437F #7F6B2F
analogous
#2F6B7F #2F437F #432F7F
triadic
#2F437F #7F2F43 #437F2F
tetradic
#2F437F #7F2F6B #7F6B2F #2F7F43
square
#2F437F #7F2F6B #7F6B2F #2F7F43
split-complementary
#2F437F #7F432F #6B7F2F
monochromatic
#0E1426 #1E2B52 #2F437F #405BAC #637CC5
Accessibility & contrast
On white
9.42
#2F437F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2F437F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F437F
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F437F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F437F | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274A81
Deuteranopia (green-blind)
#1A437E
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f437f; /* rgb */ color: rgb(47, 67, 127); /* oklch */ color: oklch(39.9% 0.104 267.7);
Tailwind
colors: {
custom: {
50: '#7076a4',
500: '#2f437f',
950: '#000000',
},
}SCSS
$custom: #2f437f; $custom-light: #7076a4; $custom-dark: #000000;
JSON
{
"hex": "#2f437f",
"rgb": {
"r": 47,
"g": 67,
"b": 127
},
"hsl": {
"h": 225,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.39912,
"c": 0.10401,
"h": 267.7
},
"luminance": 0.06151
}Semantic roles & 50–950 ramp
primary
#2F437F
secondary
#AC995E
accent
#B552D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F