#2F4A85#2F4A85
#2F4A85 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.9% C 0.104 H 264.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4A85 |
|---|---|
| RGB | rgb(47, 74, 133) |
| HSL | hsl(221, 48%, 35%) |
| HSV | hsv(221, 65%, 52%) |
| CMYK | cmyk(64.7%, 44.4%, 0%, 47.8%) |
| CIE-LAB | lab(32.25, 9.82, -36.21) |
| CIE-LCH | lch(32.25, 37.51, 285.17°) |
| OKLab | oklab(41.92% -0.0109 -0.1032) |
| OKLCH | oklch(41.92% 0.104 264) |
| XYZ | xyz(7.8532, 7.1946, 23.1606) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.46
Dusk Blue
#26538D
ΔE00 4.21
Darkish Blue
#014182
ΔE00 4.55
Twilight Blue
#0A437A
ΔE00 4.73
Light Navy
#155084
ΔE00 5.50
Cobalt
#0047AB
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4A85 #856A2F
analogous
#2F7585 #2F4A85 #3F2F85
triadic
#2F4A85 #852F4A #4A852F
tetradic
#2F4A85 #852F75 #856A2F #2F853F
square
#2F4A85 #852F75 #856A2F #2F853F
split-complementary
#2F4A85 #853F2F #75852F
monochromatic
#0F182B #1F3158 #2F4A85 #3F63B2 #6685C9
Accessibility & contrast
On white
8.61
#2F4A85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2F4A85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4A85
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4A85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4A85 | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5087
Deuteranopia (green-blind)
#224884
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f4a85; /* rgb */ color: rgb(47, 74, 133); /* oklch */ color: oklch(41.9% 0.104 264.0);
Tailwind
colors: {
custom: {
50: '#707ca9',
500: '#2f4a85',
950: '#000000',
},
}SCSS
$custom: #2f4a85; $custom-light: #707ca9; $custom-dark: #000000;
JSON
{
"hex": "#2f4a85",
"rgb": {
"r": 47,
"g": 74,
"b": 133
},
"hsl": {
"h": 221.163,
"s": 47.778,
"l": 35.294
},
"oklch": {
"l": 0.4192,
"c": 0.1038,
"h": 264
},
"luminance": 0.07195
}Semantic roles & 50–950 ramp
primary
#2F4A85
secondary
#B09760
accent
#AD50D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F