#2F4582#2F4582
#2F4582 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.106 H 266.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4582 |
|---|---|
| RGB | rgb(47, 69, 130) |
| HSL | hsl(224, 47%, 35%) |
| HSV | hsv(224, 64%, 51%) |
| CMYK | cmyk(63.8%, 46.9%, 0%, 49%) |
| CIE-LAB | lab(30.57, 12.07, -37.02) |
| CIE-LCH | lch(30.57, 38.94, 288.05°) |
| OKLab | oklab(40.57% -0.006 -0.1057) |
| OKLCH | oklch(40.57% 0.106 266.8) |
| XYZ | xyz(7.3283, 6.4717, 21.9777) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.34
Darkish Blue
#014182
ΔE00 4.64
Twilight Blue
#0A437A
ΔE00 5.08
Dusk Blue
#26538D
ΔE00 5.99
Cobalt
#0047AB
ΔE00 6.28
Twilight
#4E518B
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4582 #826C2F
analogous
#2F6F82 #2F4582 #422F82
triadic
#2F4582 #822F45 #45822F
tetradic
#2F4582 #822F6F #826C2F #2F8242
square
#2F4582 #822F6F #826C2F #2F8242
split-complementary
#2F4582 #82422F #6F822F
monochromatic
#0E1528 #1F2D55 #2F4582 #3F5DAF #647EC7
Accessibility & contrast
On white
9.15
#2F4582 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2F4582 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4582
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4582 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4582 | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#1B4481
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f4582; /* rgb */ color: rgb(47, 69, 130); /* oklch */ color: oklch(40.6% 0.106 266.8);
Tailwind
colors: {
custom: {
50: '#7078a7',
500: '#2f4582',
950: '#000000',
},
}SCSS
$custom: #2f4582; $custom-light: #7078a7; $custom-dark: #000000;
JSON
{
"hex": "#2f4582",
"rgb": {
"r": 47,
"g": 69,
"b": 130
},
"hsl": {
"h": 224.096,
"s": 46.893,
"l": 34.706
},
"oklch": {
"l": 0.40574,
"c": 0.10586,
"h": 266.8
},
"luminance": 0.06472
}Semantic roles & 50–950 ramp
primary
#2F4582
secondary
#AE995F
accent
#B351D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F