#2F437E#2F437E
#2F437E is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.102 H 267.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2F437E |
|---|---|
| RGB | rgb(47, 67, 126) |
| HSL | hsl(225, 46%, 34%) |
| HSV | hsv(225, 63%, 49%) |
| CMYK | cmyk(62.7%, 46.8%, 0%, 50.6%) |
| CIE-LAB | lab(29.72, 11.94, -35.89) |
| CIE-LCH | lch(29.72, 37.82, 288.40°) |
| OKLab | oklab(39.84% -0.0044 -0.1024) |
| OKLCH | oklch(39.84% 0.102 267.5) |
| XYZ | xyz(6.9441, 6.1244, 20.5508) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.06
Darkish Blue
#014182
ΔE00 4.88
Twilight Blue
#0A437A
ΔE00 5.29
Marine Blue
#01386A
ΔE00 6.31
Blueberry
#464196
ΔE00 6.50
Twilight
#4E518B
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F437E #7E6A2F
analogous
#2F6B7E #2F437E #432F7E
triadic
#2F437E #7E2F43 #437E2F
tetradic
#2F437E #7E2F6B #7E6A2F #2F7E43
square
#2F437E #7E2F6B #7E6A2F #2F7E43
split-complementary
#2F437E #7E432F #6B7E2F
monochromatic
#0E1425 #1E2B51 #2F437E #405BAB #637CC5
Accessibility & contrast
On white
9.44
#2F437E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2F437E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F437E
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F437E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F437E | 1.00 | 9.44 | 2.23 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#1B437D
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f437e; /* rgb */ color: rgb(47, 67, 126); /* oklch */ color: oklch(39.8% 0.102 267.5);
Tailwind
colors: {
custom: {
50: '#6f76a4',
500: '#2f437e',
950: '#000000',
},
}SCSS
$custom: #2f437e; $custom-light: #6f76a4; $custom-dark: #000000;
JSON
{
"hex": "#2f437e",
"rgb": {
"r": 47,
"g": 67,
"b": 126
},
"hsl": {
"h": 224.81,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.39842,
"c": 0.10248,
"h": 267.5
},
"luminance": 0.06125
}Semantic roles & 50–950 ramp
primary
#2F437E
secondary
#AC985D
accent
#B452D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F