#2F2190#2F2190
#2F2190 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.171 H 278.6°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2190 |
|---|---|
| RGB | rgb(47, 33, 144) |
| HSL | hsl(248, 63%, 35%) |
| HSV | hsv(248, 77%, 56%) |
| CMYK | cmyk(67.4%, 77.1%, 0%, 43.5%) |
| CIE-LAB | lab(22.67, 40.36, -58.57) |
| CIE-LCH | lch(22.67, 71.13, 304.57°) |
| OKLab | oklab(35.1% 0.0255 -0.1691) |
| OKLCH | oklch(35.1% 0.171 278.6) |
| XYZ | xyz(6.7486, 3.7051, 26.7397) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.28
Indigo Blue
#3A18B1
ΔE00 5.03
Cobalt Blue
#030AA7
ΔE00 5.14
Indigo (survey)
#380282
ΔE00 5.57
Midnight Blue
#191970
ΔE00 5.59
Royal Blue (survey)
#0504AA
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2190 #829021
analogous
#214A90 #2F2190 #672190
triadic
#2F2190 #902F21 #21902F
tetradic
#2F2190 #90214A #829021 #219067
square
#2F2190 #90214A #829021 #219067
split-complementary
#2F2190 #906721 #4A9021
monochromatic
#0E0A2C #1F165E #2F2190 #3F2CC2 #6454D8
Accessibility & contrast
On white
12.06
#2F2190 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2F2190 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2190
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2190 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2190 | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2f2190; /* rgb */ color: rgb(47, 33, 144); /* oklch */ color: oklch(35.1% 0.171 278.6);
Tailwind
colors: {
custom: {
50: '#765fb2',
500: '#2f2190',
950: '#000000',
},
}SCSS
$custom: #2f2190; $custom-light: #765fb2; $custom-dark: #000000;
JSON
{
"hex": "#2f2190",
"rgb": {
"r": 47,
"g": 33,
"b": 144
},
"hsl": {
"h": 247.568,
"s": 62.712,
"l": 34.706
},
"oklch": {
"l": 0.35105,
"c": 0.17107,
"h": 278.6
},
"luminance": 0.03706
}Semantic roles & 50–950 ramp
primary
#2F2190
secondary
#AEBB51
accent
#E642D1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980