#2F4982#2F4982
#2F4982 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.101 H 264.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4982 |
|---|---|
| RGB | rgb(47, 73, 130) |
| HSL | hsl(221, 47%, 35%) |
| HSV | hsv(221, 64%, 51%) |
| CMYK | cmyk(63.8%, 43.8%, 0%, 49%) |
| CIE-LAB | lab(31.76, 9.37, -35.12) |
| CIE-LCH | lch(31.76, 36.35, 284.94°) |
| OKLab | oklab(41.49% -0.0104 -0.1) |
| OKLCH | oklch(41.49% 0.101 264.1) |
| XYZ | xyz(7.5827, 6.9805, 22.0625) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.75
Darkish Blue
#014182
ΔE00 4.48
Dusk Blue
#26538D
ΔE00 4.58
Twilight Blue
#0A437A
ΔE00 4.61
Light Navy
#155084
ΔE00 5.70
Prussian Blue
#004577
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4982 #82682F
analogous
#2F7382 #2F4982 #3F2F82
triadic
#2F4982 #822F49 #49822F
tetradic
#2F4982 #822F73 #82682F #2F823F
square
#2F4982 #822F73 #82682F #2F823F
split-complementary
#2F4982 #823F2F #73822F
monochromatic
#0E1728 #1F3055 #2F4982 #3F62AF #6483C7
Accessibility & contrast
On white
8.76
#2F4982 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2F4982 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4982
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4982 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4982 | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4F84
Deuteranopia (green-blind)
#234781
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f4982; /* rgb */ color: rgb(47, 73, 130); /* oklch */ color: oklch(41.5% 0.101 264.1);
Tailwind
colors: {
custom: {
50: '#707ba7',
500: '#2f4982',
950: '#000000',
},
}SCSS
$custom: #2f4982; $custom-light: #707ba7; $custom-dark: #000000;
JSON
{
"hex": "#2f4982",
"rgb": {
"r": 47,
"g": 73,
"b": 130
},
"hsl": {
"h": 221.205,
"s": 46.893,
"l": 34.706
},
"oklch": {
"l": 0.41488,
"c": 0.10059,
"h": 264.1
},
"luminance": 0.06981
}Semantic roles & 50–950 ramp
primary
#2F4982
secondary
#AE955F
accent
#AD51D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F