#2F4682#2F4682
#2F4682 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.105 H 266.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4682 |
|---|---|
| RGB | rgb(47, 70, 130) |
| HSL | hsl(223, 47%, 35%) |
| HSV | hsv(223, 64%, 51%) |
| CMYK | cmyk(63.8%, 46.2%, 0%, 49%) |
| CIE-LAB | lab(30.87, 11.39, -36.55) |
| CIE-LCH | lch(30.87, 38.28, 287.31°) |
| OKLab | oklab(40.8% -0.0071 -0.1043) |
| OKLCH | oklch(40.8% 0.105 266.1) |
| XYZ | xyz(7.3903, 6.5957, 21.9984) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.14
Darkish Blue
#014182
ΔE00 4.56
Twilight Blue
#0A437A
ΔE00 4.93
Dusk Blue
#26538D
ΔE00 5.64
Cobalt
#0047AB
ΔE00 6.20
Prussian Blue
#004577
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4682 #826B2F
analogous
#2F7082 #2F4682 #412F82
triadic
#2F4682 #822F46 #46822F
tetradic
#2F4682 #822F70 #826B2F #2F8241
square
#2F4682 #822F70 #826B2F #2F8241
split-complementary
#2F4682 #82412F #70822F
monochromatic
#0E1628 #1F2E55 #2F4682 #3F5EAF #6480C7
Accessibility & contrast
On white
9.05
#2F4682 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F4682 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4682
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4682 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4682 | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4D84
Deuteranopia (green-blind)
#1D4581
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f4682; /* rgb */ color: rgb(47, 70, 130); /* oklch */ color: oklch(40.8% 0.105 266.1);
Tailwind
colors: {
custom: {
50: '#7079a7',
500: '#2f4682',
950: '#000000',
},
}SCSS
$custom: #2f4682; $custom-light: #7079a7; $custom-dark: #000000;
JSON
{
"hex": "#2f4682",
"rgb": {
"r": 47,
"g": 70,
"b": 130
},
"hsl": {
"h": 223.373,
"s": 46.893,
"l": 34.706
},
"oklch": {
"l": 0.40801,
"c": 0.10453,
"h": 266.1
},
"luminance": 0.06596
}Semantic roles & 50–950 ramp
primary
#2F4682
secondary
#AE985F
accent
#B251D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F