#2F2185#2F2185
#2F2185 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.157 H 280.3°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2185 |
|---|---|
| RGB | rgb(47, 33, 133) |
| HSL | hsl(248, 60%, 33%) |
| HSV | hsv(248, 75%, 52%) |
| CMYK | cmyk(64.7%, 75.2%, 0%, 47.8%) |
| CIE-LAB | lab(21.52, 36.77, -53.59) |
| CIE-LCH | lch(21.52, 64.99, 304.46°) |
| OKLab | oklab(33.95% 0.0281 -0.1546) |
| OKLCH | oklch(33.95% 0.157 280.3) |
| XYZ | xyz(5.9484, 3.3851, 22.5257) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.98
Midnight Blue
#191970
ΔE00 4.26
Indigo (survey)
#380282
ΔE00 5.39
Cobalt Blue
#030AA7
ΔE00 6.36
Darkblue
#00008B
ΔE00 6.43
Indigo Blue
#3A18B1
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2185 #778521
analogous
#214585 #2F2185 #612185
triadic
#2F2185 #852F21 #21852F
tetradic
#2F2185 #852145 #778521 #218561
square
#2F2185 #852145 #778521 #218561
split-complementary
#2F2185 #856121 #458521
monochromatic
#0C0923 #1E1554 #2F2185 #402DB6 #604DD3
Accessibility & contrast
On white
12.52
#2F2185 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2F2185 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2185
12.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2185 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2185 | 1.00 | 12.52 | 1.68 | 12.52 |
| #FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2f2185; /* rgb */ color: rgb(47, 33, 133); /* oklch */ color: oklch(34.0% 0.157 280.3);
Tailwind
colors: {
custom: {
50: '#735eaa',
500: '#2f2185',
950: '#000000',
},
}SCSS
$custom: #2f2185; $custom-light: #735eaa; $custom-dark: #000000;
JSON
{
"hex": "#2f2185",
"rgb": {
"r": 47,
"g": 33,
"b": 133
},
"hsl": {
"h": 248.4,
"s": 60.241,
"l": 32.549
},
"oklch": {
"l": 0.3395,
"c": 0.15715,
"h": 280.3
},
"luminance": 0.03386
}Semantic roles & 50–950 ramp
primary
#2F2185
secondary
#A7B64C
accent
#E344CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F