#2F3571#2F3571
#2F3571 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.8% C 0.102 H 275.7°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3571 |
|---|---|
| RGB | rgb(47, 53, 113) |
| HSL | hsl(235, 41%, 31%) |
| HSV | hsv(235, 58%, 44%) |
| CMYK | cmyk(58.4%, 53.1%, 0%, 55.7%) |
| CIE-LAB | lab(24.77, 16.77, -35.62) |
| CIE-LCH | lch(24.77, 39.37, 295.21°) |
| OKLab | oklab(35.8% 0.0101 -0.1018) |
| OKLCH | oklch(35.8% 0.102 275.7) |
| XYZ | xyz(5.4251, 4.3424, 16.1719) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.06
Marine
#042E60
ΔE00 6.50
Blueberry
#464196
ΔE00 7.17
Marine Blue
#01386A
ΔE00 7.66
Navy Blue
#1B2A4A
ΔE00 7.82
Darkish Blue
#014182
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3571 #716B2F
analogous
#2F5671 #2F3571 #4A2F71
triadic
#2F3571 #712F35 #35712F
tetradic
#2F3571 #712F56 #716B2F #2F714A
square
#2F3571 #712F56 #716B2F #2F714A
split-complementary
#2F3571 #714A2F #56712F
monochromatic
#0B0C1B #1D2146 #2F3571 #41499C #5E67BC
Accessibility & contrast
On white
11.24
#2F3571 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2F3571 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3571
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3571 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3571 | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#163E73
Deuteranopia (green-blind)
#0B3870
Tritanopia (blue-blind)
#0B424D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f3571; /* rgb */ color: rgb(47, 53, 113); /* oklch */ color: oklch(35.8% 0.102 275.7);
Tailwind
colors: {
custom: {
50: '#6e6c9a',
500: '#2f3571',
950: '#000000',
},
}SCSS
$custom: #2f3571; $custom-light: #6e6c9a; $custom-dark: #000000;
JSON
{
"hex": "#2f3571",
"rgb": {
"r": 47,
"g": 53,
"b": 113
},
"hsl": {
"h": 234.545,
"s": 41.25,
"l": 31.373
},
"oklch": {
"l": 0.35797,
"c": 0.10227,
"h": 275.7
},
"luminance": 0.04343
}Semantic roles & 50–950 ramp
primary
#2F3571
secondary
#A29C5A
accent
#C657D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E