#2F4687#2F4687
#2F4687 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.2% C 0.112 H 266.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4687 |
|---|---|
| RGB | rgb(47, 70, 135) |
| HSL | hsl(224, 48%, 36%) |
| HSV | hsv(224, 65%, 53%) |
| CMYK | cmyk(65.2%, 48.1%, 0%, 47.1%) |
| CIE-LAB | lab(31.19, 13.26, -39.13) |
| CIE-LCH | lch(31.19, 41.31, 288.72°) |
| OKLab | oklab(41.15% -0.0062 -0.1119) |
| OKLCH | oklch(41.15% 0.112 266.8) |
| XYZ | xyz(7.7341, 6.7332, 23.8090) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.87
Darkish Blue
#014182
ΔE00 4.67
Twilight Blue
#0A437A
ΔE00 5.22
Cobalt
#0047AB
ΔE00 5.58
Dusk Blue
#26538D
ΔE00 5.64
Blueberry
#464196
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4687 #87702F
analogous
#2F7287 #2F4687 #442F87
triadic
#2F4687 #872F46 #46872F
tetradic
#2F4687 #872F72 #87702F #2F8744
square
#2F4687 #872F72 #87702F #2F8744
split-complementary
#2F4687 #87442F #72872F
monochromatic
#0F172C #1F2E5A #2F4687 #3F5EB4 #6680CA
Accessibility & contrast
On white
8.95
#2F4687 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2F4687 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4687
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4687 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4687 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264E89
Deuteranopia (green-blind)
#164686
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f4687; /* rgb */ color: rgb(47, 70, 135); /* oklch */ color: oklch(41.2% 0.112 266.8);
Tailwind
colors: {
custom: {
50: '#7179aa',
500: '#2f4687',
950: '#000000',
},
}SCSS
$custom: #2f4687; $custom-light: #7179aa; $custom-dark: #000000;
JSON
{
"hex": "#2f4687",
"rgb": {
"r": 47,
"g": 70,
"b": 135
},
"hsl": {
"h": 224.318,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.41153,
"c": 0.11203,
"h": 266.8
},
"luminance": 0.06734
}Semantic roles & 50–950 ramp
primary
#2F4687
secondary
#B19C61
accent
#B450D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F