#2F4284#2F4284
#2F4284 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.113 H 268.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4284 |
|---|---|
| RGB | rgb(47, 66, 132) |
| HSL | hsl(227, 47%, 35%) |
| HSV | hsv(227, 64%, 52%) |
| CMYK | cmyk(64.4%, 50%, 0%, 48.2%) |
| CIE-LAB | lab(29.83, 14.85, -39.46) |
| CIE-LCH | lch(29.83, 42.16, 290.62°) |
| OKLab | oklab(40.05% -0.0024 -0.1129) |
| OKLCH | oklch(40.05% 0.113 268.8) |
| XYZ | xyz(7.2840, 6.1661, 22.6316) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.97
Darkish Blue
#014182
ΔE00 5.08
Blueberry
#464196
ΔE00 5.59
Twilight Blue
#0A437A
ΔE00 5.75
Darkslateblue
#483D8B
ΔE00 6.24
Cobalt
#0047AB
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4284 #84712F
analogous
#2F6D84 #2F4284 #462F84
triadic
#2F4284 #842F42 #42842F
tetradic
#2F4284 #842F6D #84712F #2F8446
square
#2F4284 #842F6D #84712F #2F8446
split-complementary
#2F4284 #84462F #6D842F
monochromatic
#0F152A #1F2B57 #2F4284 #3F59B1 #657BC8
Accessibility & contrast
On white
9.40
#2F4284 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2F4284 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4284
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4284 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4284 | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204A86
Deuteranopia (green-blind)
#0F4383
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f4284; /* rgb */ color: rgb(47, 66, 132); /* oklch */ color: oklch(40.0% 0.113 268.8);
Tailwind
colors: {
custom: {
50: '#7176a8',
500: '#2f4284',
950: '#000000',
},
}SCSS
$custom: #2f4284; $custom-light: #7176a8; $custom-dark: #000000;
JSON
{
"hex": "#2f4284",
"rgb": {
"r": 47,
"g": 66,
"b": 132
},
"hsl": {
"h": 226.588,
"s": 47.486,
"l": 35.098
},
"oklch": {
"l": 0.40048,
"c": 0.11293,
"h": 268.8
},
"luminance": 0.06167
}Semantic roles & 50–950 ramp
primary
#2F4284
secondary
#AF9D60
accent
#B951D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F