#2F4C87#2F4C87
#2F4C87 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.5% C 0.104 H 263.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4C87 |
|---|---|
| RGB | rgb(47, 76, 135) |
| HSL | hsl(220, 48%, 36%) |
| HSV | hsv(220, 65%, 53%) |
| CMYK | cmyk(65.2%, 43.7%, 0%, 47.1%) |
| CIE-LAB | lab(32.97, 9.23, -36.29) |
| CIE-LCH | lch(32.97, 37.44, 284.27°) |
| OKLab | oklab(42.52% -0.0127 -0.1034) |
| OKLCH | oklch(42.52% 0.104 263) |
| XYZ | xyz(8.1284, 7.5217, 23.9405) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.38
Dusk Blue
#26538D
ΔE00 3.51
Darkish Blue
#014182
ΔE00 4.74
Twilight Blue
#0A437A
ΔE00 4.84
Light Navy
#155084
ΔE00 5.00
Denim Blue
#3B5B92
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4C87 #876A2F
analogous
#2F7887 #2F4C87 #3E2F87
triadic
#2F4C87 #872F4C #4C872F
tetradic
#2F4C87 #872F78 #876A2F #2F873E
square
#2F4C87 #872F78 #876A2F #2F873E
split-complementary
#2F4C87 #873E2F #78872F
monochromatic
#0F192C #1F325A #2F4C87 #3F66B4 #6687CA
Accessibility & contrast
On white
8.39
#2F4C87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2F4C87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4C87
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4C87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4C87 | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315289
Deuteranopia (green-blind)
#244A86
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f4c87; /* rgb */ color: rgb(47, 76, 135); /* oklch */ color: oklch(42.5% 0.104 263.0);
Tailwind
colors: {
custom: {
50: '#717daa',
500: '#2f4c87',
950: '#000000',
},
}SCSS
$custom: #2f4c87; $custom-light: #717daa; $custom-dark: #000000;
JSON
{
"hex": "#2f4c87",
"rgb": {
"r": 47,
"g": 76,
"b": 135
},
"hsl": {
"h": 220.227,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.42515,
"c": 0.10422,
"h": 263
},
"luminance": 0.07522
}Semantic roles & 50–950 ramp
primary
#2F4C87
secondary
#B19761
accent
#AB50D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F