#2C23A1#2C23A1
#2C23A1 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.191 H 274.9°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2C23A1 |
|---|---|
| RGB | rgb(44, 35, 161) |
| HSL | hsl(244, 64%, 38%) |
| HSV | hsv(244, 78%, 63%) |
| CMYK | cmyk(72.7%, 78.3%, 0%, 36.9%) |
| CIE-LAB | lab(24.67, 44.46, -65.72) |
| CIE-LCH | lch(24.67, 79.35, 304.08°) |
| OKLab | oklab(37% 0.0162 -0.1901) |
| OKLCH | oklch(37% 0.191 274.9) |
| XYZ | xyz(8.0706, 4.3100, 34.1179) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.30
Royal
#0C1793
ΔE00 3.87
Cobalt Blue
#030AA7
ΔE00 4.42
Ultramarine
#2000B1
ΔE00 4.84
Royal Blue (survey)
#0504AA
ΔE00 4.86
True Blue
#010FCC
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C23A1 #98A123
analogous
#2359A1 #2C23A1 #6B23A1
triadic
#2C23A1 #A12C23 #23A12C
tetradic
#2C23A1 #A12359 #98A123 #23A16B
square
#2C23A1 #A12359 #98A123 #23A16B
split-complementary
#2C23A1 #A16B23 #59A123
monochromatic
#110D3C #1E186F #2C23A1 #3B2FD2 #6A62DD
Accessibility & contrast
On white
11.28
#2C23A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2C23A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C23A1
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C23A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C23A1 | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c23a1; /* rgb */ color: rgb(44, 35, 161); /* oklch */ color: oklch(37.0% 0.191 274.9);
Tailwind
colors: {
custom: {
50: '#7861be',
500: '#2c23a1',
950: '#000000',
},
}SCSS
$custom: #2c23a1; $custom-light: #7861be; $custom-dark: #000000;
JSON
{
"hex": "#2c23a1",
"rgb": {
"r": 44,
"g": 35,
"b": 161
},
"hsl": {
"h": 244.286,
"s": 64.286,
"l": 38.431
},
"oklch": {
"l": 0.37,
"c": 0.19075,
"h": 274.9
},
"luminance": 0.04311
}Semantic roles & 50–950 ramp
primary
#2C23A1
secondary
#BBC25E
accent
#E741DB
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981