#2F3590#2F3590
#2F3590 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.148 H 274.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3590 |
|---|---|
| RGB | rgb(47, 53, 144) |
| HSL | hsl(236, 51%, 37%) |
| HSV | hsv(236, 67%, 56%) |
| CMYK | cmyk(67.4%, 63.2%, 0%, 43.5%) |
| CIE-LAB | lab(27.20, 28.06, -51.15) |
| CIE-LCH | lch(27.20, 58.34, 298.75°) |
| OKLab | oklab(38.37% 0.0108 -0.1474) |
| OKLCH | oklch(38.37% 0.148 274.2) |
| XYZ | xyz(7.4778, 5.1635, 26.9827) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.11
Blueberry
#464196
ΔE00 4.48
Darkslateblue
#483D8B
ΔE00 4.75
Ocean Blue
#4F42B5
ΔE00 7.55
Royal
#0C1793
ΔE00 7.83
Cobalt
#0047AB
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3590 #908A2F
analogous
#2F6590 #2F3590 #5A2F90
triadic
#2F3590 #902F35 #35902F
tetradic
#2F3590 #902F65 #908A2F #2F905A
square
#2F3590 #902F65 #908A2F #2F905A
split-complementary
#2F3590 #905A2F #65902F
monochromatic
#111334 #202462 #2F3590 #3E46BE #6B71CF
Accessibility & contrast
On white
10.33
#2F3590 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2F3590 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3590
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3590 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3590 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f3590; /* rgb */ color: rgb(47, 53, 144); /* oklch */ color: oklch(38.4% 0.148 274.2);
Tailwind
colors: {
custom: {
50: '#746cb1',
500: '#2f3590',
950: '#000000',
},
}SCSS
$custom: #2f3590; $custom-light: #746cb1; $custom-dark: #000000;
JSON
{
"hex": "#2f3590",
"rgb": {
"r": 47,
"g": 53,
"b": 144
},
"hsl": {
"h": 236.289,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.38366,
"c": 0.14782,
"h": 274.2
},
"luminance": 0.05164
}Semantic roles & 50–950 ramp
primary
#2F3590
secondary
#B6B165
accent
#D24EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80