#2C1F92#2C1F92
#2C1F92 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.176 H 277.1°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1F92 |
|---|---|
| RGB | rgb(44, 31, 146) |
| HSL | hsl(247, 65%, 35%) |
| HSV | hsv(247, 79%, 57%) |
| CMYK | cmyk(69.9%, 78.8%, 0%, 42.7%) |
| CIE-LAB | lab(22.27, 41.76, -60.49) |
| CIE-LCH | lch(22.27, 73.50, 304.62°) |
| OKLab | oklab(34.82% 0.0219 -0.1748) |
| OKLCH | oklch(34.82% 0.176 277.1) |
| XYZ | xyz(6.7153, 3.5902, 27.5276) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.74
Cobalt Blue
#030AA7
ΔE00 4.53
Indigo Blue
#3A18B1
ΔE00 4.76
Royal Blue (survey)
#0504AA
ΔE00 5.04
Indigo (survey)
#380282
ΔE00 5.41
Ultramarine
#2000B1
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1F92 #85921F
analogous
#1F4B92 #2C1F92 #661F92
triadic
#2C1F92 #922C1F #1F922C
tetradic
#2C1F92 #921F4B #85921F #1F9266
square
#2C1F92 #921F4B #85921F #1F9266
split-complementary
#2C1F92 #92661F #4B921F
monochromatic
#0E0A2D #1D1460 #2C1F92 #3B2AC4 #6151DA
Accessibility & contrast
On white
12.22
#2C1F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2C1F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1F92
12.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1F92 | 1.00 | 12.22 | 1.72 | 12.22 |
| #FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#003090
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2c1f92; /* rgb */ color: rgb(44, 31, 146); /* oklch */ color: oklch(34.8% 0.176 277.1);
Tailwind
colors: {
custom: {
50: '#755db3',
500: '#2c1f92',
950: '#000000',
},
}SCSS
$custom: #2c1f92; $custom-light: #755db3; $custom-dark: #000000;
JSON
{
"hex": "#2c1f92",
"rgb": {
"r": 44,
"g": 31,
"b": 146
},
"hsl": {
"h": 246.783,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.34824,
"c": 0.17615,
"h": 277.1
},
"luminance": 0.03591
}Semantic roles & 50–950 ramp
primary
#2C1F92
secondary
#B1BD50
accent
#E840D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980