#2F2388#2F2388
#2F2388 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.159 H 279.4°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2388 |
|---|---|
| RGB | rgb(47, 35, 136) |
| HSL | hsl(247, 59%, 34%) |
| HSV | hsv(247, 74%, 53%) |
| CMYK | cmyk(65.4%, 74.3%, 0%, 46.7%) |
| CIE-LAB | lab(22.24, 36.60, -54.29) |
| CIE-LCH | lch(22.24, 65.47, 303.99°) |
| OKLab | oklab(34.55% 0.026 -0.1567) |
| OKLCH | oklch(34.55% 0.159 279.4) |
| XYZ | xyz(6.2158, 3.5835, 23.6519) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.99
Midnight Blue
#191970
ΔE00 4.71
Indigo (survey)
#380282
ΔE00 5.87
Cobalt Blue
#030AA7
ΔE00 6.30
Indigo Blue
#3A18B1
ΔE00 6.34
Darkblue
#00008B
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2388 #7C8823
analogous
#234988 #2F2388 #612388
triadic
#2F2388 #882F23 #23882F
tetradic
#2F2388 #882349 #7C8823 #238861
square
#2F2388 #882349 #7C8823 #238861
split-complementary
#2F2388 #886123 #498823
monochromatic
#0D0A27 #1E1657 #2F2388 #4030B9 #6253D3
Accessibility & contrast
On white
12.23
#2F2388 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2F2388 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2388
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2388 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2388 | 1.00 | 12.23 | 1.72 | 12.23 |
| #FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#003186
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2f2388; /* rgb */ color: rgb(47, 35, 136); /* oklch */ color: oklch(34.6% 0.159 279.4);
Tailwind
colors: {
custom: {
50: '#7460ac',
500: '#2f2388',
950: '#000000',
},
}SCSS
$custom: #2f2388; $custom-light: #7460ac; $custom-dark: #000000;
JSON
{
"hex": "#2f2388",
"rgb": {
"r": 47,
"g": 35,
"b": 136
},
"hsl": {
"h": 247.129,
"s": 59.064,
"l": 33.529
},
"oklch": {
"l": 0.34553,
"c": 0.15881,
"h": 279.4
},
"luminance": 0.03584
}Semantic roles & 50–950 ramp
primary
#2F2388
secondary
#AAB750
accent
#E246D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F