#2F4587#2F4587
#2F4587 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.113 H 267.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4587 |
|---|---|
| RGB | rgb(47, 69, 135) |
| HSL | hsl(225, 48%, 36%) |
| HSV | hsv(225, 65%, 53%) |
| CMYK | cmyk(65.2%, 48.9%, 0%, 47.1%) |
| CIE-LAB | lab(30.90, 13.93, -39.59) |
| CIE-LCH | lch(30.90, 41.97, 289.38°) |
| OKLab | oklab(40.93% -0.0052 -0.1132) |
| OKLCH | oklch(40.93% 0.113 267.4) |
| XYZ | xyz(7.6721, 6.6092, 23.7884) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.09
Darkish Blue
#014182
ΔE00 4.76
Twilight Blue
#0A437A
ΔE00 5.37
Cobalt
#0047AB
ΔE00 5.66
Blueberry
#464196
ΔE00 5.92
Dusk Blue
#26538D
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4587 #87712F
analogous
#2F7187 #2F4587 #452F87
triadic
#2F4587 #872F45 #45872F
tetradic
#2F4587 #872F71 #87712F #2F8745
square
#2F4587 #872F71 #87712F #2F8745
split-complementary
#2F4587 #87452F #71872F
monochromatic
#0F172C #1F2E5A #2F4587 #3F5CB4 #667FCA
Accessibility & contrast
On white
9.04
#2F4587 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F4587 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4587
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4587 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4587 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244D89
Deuteranopia (green-blind)
#134586
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f4587; /* rgb */ color: rgb(47, 69, 135); /* oklch */ color: oklch(40.9% 0.113 267.4);
Tailwind
colors: {
custom: {
50: '#7178aa',
500: '#2f4587',
950: '#000000',
},
}SCSS
$custom: #2f4587; $custom-light: #7178aa; $custom-dark: #000000;
JSON
{
"hex": "#2f4587",
"rgb": {
"r": 47,
"g": 69,
"b": 135
},
"hsl": {
"h": 225,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.4093,
"c": 0.11337,
"h": 267.4
},
"luminance": 0.0661
}Semantic roles & 50–950 ramp
primary
#2F4587
secondary
#B19D61
accent
#B650D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F