#2F1D9C#2F1D9C
#2F1D9C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.189 H 277.4°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1D9C |
|---|---|
| RGB | rgb(47, 29, 156) |
| HSL | hsl(249, 69%, 36%) |
| HSV | hsv(249, 81%, 61%) |
| CMYK | cmyk(69.9%, 81.4%, 0%, 38.8%) |
| CIE-LAB | lab(23.28, 46.20, -64.96) |
| CIE-LCH | lch(23.28, 79.71, 305.42°) |
| OKLab | oklab(35.92% 0.0244 -0.1877) |
| OKLCH | oklch(35.92% 0.189 277.4) |
| XYZ | xyz(7.6105, 3.8827, 31.7944) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.19
Indigo Blue
#3A18B1
ΔE00 3.21
Cobalt Blue
#030AA7
ΔE00 3.72
Royal Blue (survey)
#0504AA
ΔE00 4.13
Ultramarine
#2000B1
ΔE00 4.16
Indigo (survey)
#380282
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1D9C #8A9C1D
analogous
#1D4B9C #2F1D9C #6F1D9C
triadic
#2F1D9C #9C2F1D #1D9C2F
tetradic
#2F1D9C #9C1D4B #8A9C1D #1D9C6F
square
#2F1D9C #9C1D4B #8A9C1D #1D9C6F
split-complementary
#2F1D9C #9C6F1D #4B9C1D
monochromatic
#100A35 #1F1368 #2F1D9C #3F27D0 #6854DF
Accessibility & contrast
On white
11.82
#2F1D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2F1D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1D9C
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1D9C | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f1d9c; /* rgb */ color: rgb(47, 29, 156); /* oklch */ color: oklch(35.9% 0.189 277.4);
Tailwind
colors: {
custom: {
50: '#795dbb',
500: '#2f1d9c',
950: '#000000',
},
}SCSS
$custom: #2f1d9c; $custom-light: #795dbb; $custom-dark: #000000;
JSON
{
"hex": "#2f1d9c",
"rgb": {
"r": 47,
"g": 29,
"b": 156
},
"hsl": {
"h": 248.504,
"s": 68.649,
"l": 36.275
},
"oklch": {
"l": 0.35922,
"c": 0.18929,
"h": 277.4
},
"luminance": 0.03883
}Semantic roles & 50–950 ramp
primary
#2F1D9C
secondary
#B3C252
accent
#EB3CD3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981