#2F3591#2F3591
#2F3591 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.149 H 274.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3591 |
|---|---|
| RGB | rgb(47, 53, 145) |
| HSL | hsl(236, 51%, 38%) |
| HSV | hsv(236, 68%, 57%) |
| CMYK | cmyk(67.6%, 63.4%, 0%, 43.1%) |
| CIE-LAB | lab(27.28, 28.42, -51.63) |
| CIE-LCH | lch(27.28, 58.93, 298.83°) |
| OKLab | oklab(38.46% 0.0107 -0.1488) |
| OKLCH | oklch(38.46% 0.149 274.1) |
| XYZ | xyz(7.5545, 5.1942, 27.3870) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.96
Blueberry
#464196
ΔE00 4.47
Darkslateblue
#483D8B
ΔE00 4.79
Ocean Blue
#4F42B5
ΔE00 7.44
Royal
#0C1793
ΔE00 7.78
Cobalt
#0047AB
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3591 #918B2F
analogous
#2F6691 #2F3591 #5A2F91
triadic
#2F3591 #912F35 #35912F
tetradic
#2F3591 #912F66 #918B2F #2F915A
square
#2F3591 #912F66 #918B2F #2F915A
split-complementary
#2F3591 #915A2F #66912F
monochromatic
#111335 #202463 #2F3591 #3E46BF #6B71CF
Accessibility & contrast
On white
10.30
#2F3591 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2F3591 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3591
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3591 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3591 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f3591; /* rgb */ color: rgb(47, 53, 145); /* oklch */ color: oklch(38.5% 0.149 274.1);
Tailwind
colors: {
custom: {
50: '#746cb2',
500: '#2f3591',
950: '#000000',
},
}SCSS
$custom: #2f3591; $custom-light: #746cb2; $custom-dark: #000000;
JSON
{
"hex": "#2f3591",
"rgb": {
"r": 47,
"g": 53,
"b": 145
},
"hsl": {
"h": 236.327,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.38456,
"c": 0.14921,
"h": 274.1
},
"luminance": 0.05195
}Semantic roles & 50–950 ramp
primary
#2F3591
secondary
#B6B165
accent
#D24DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80