#2F4686#2F4686
#2F4686 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.1% C 0.111 H 266.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4686 |
|---|---|
| RGB | rgb(47, 70, 134) |
| HSL | hsl(224, 48%, 35%) |
| HSV | hsv(224, 65%, 53%) |
| CMYK | cmyk(64.9%, 47.8%, 0%, 47.5%) |
| CIE-LAB | lab(31.13, 12.88, -38.61) |
| CIE-LCH | lch(31.13, 40.71, 288.45°) |
| OKLab | oklab(41.08% -0.0064 -0.1104) |
| OKLCH | oklch(41.08% 0.111 266.7) |
| XYZ | xyz(7.6640, 6.7052, 23.4400) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.91
Darkish Blue
#014182
ΔE00 4.64
Twilight Blue
#0A437A
ΔE00 5.15
Dusk Blue
#26538D
ΔE00 5.63
Cobalt
#0047AB
ΔE00 5.70
Blueberry
#464196
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4686 #866F2F
analogous
#2F7186 #2F4686 #432F86
triadic
#2F4686 #862F46 #46862F
tetradic
#2F4686 #862F71 #866F2F #2F8643
square
#2F4686 #862F71 #866F2F #2F8643
split-complementary
#2F4686 #86432F #71862F
monochromatic
#0F172B #1F2E59 #2F4686 #3F5EB3 #6680C9
Accessibility & contrast
On white
8.97
#2F4686 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2F4686 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4686
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4686 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4686 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274D88
Deuteranopia (green-blind)
#174685
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f4686; /* rgb */ color: rgb(47, 70, 134); /* oklch */ color: oklch(41.1% 0.111 266.7);
Tailwind
colors: {
custom: {
50: '#7179aa',
500: '#2f4686',
950: '#000000',
},
}SCSS
$custom: #2f4686; $custom-light: #7179aa; $custom-dark: #000000;
JSON
{
"hex": "#2f4686",
"rgb": {
"r": 47,
"g": 70,
"b": 134
},
"hsl": {
"h": 224.138,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.41082,
"c": 0.11054,
"h": 266.7
},
"luminance": 0.06706
}Semantic roles & 50–950 ramp
primary
#2F4686
secondary
#B09B60
accent
#B450D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F