#2C23A0#2C23A0
#2C23A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.190 H 275.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2C23A0 |
|---|---|
| RGB | rgb(44, 35, 160) |
| HSL | hsl(244, 64%, 38%) |
| HSV | hsv(244, 78%, 63%) |
| CMYK | cmyk(72.5%, 78.1%, 0%, 37.3%) |
| CIE-LAB | lab(24.56, 44.14, -65.30) |
| CIE-LCH | lch(24.56, 78.81, 304.06°) |
| OKLab | oklab(36.89% 0.0165 -0.1888) |
| OKLCH | oklch(36.89% 0.19 275) |
| XYZ | xyz(7.9828, 4.2748, 33.6553) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.40
Royal
#0C1793
ΔE00 3.79
Cobalt Blue
#030AA7
ΔE00 4.44
Royal Blue (survey)
#0504AA
ΔE00 4.89
Ultramarine
#2000B1
ΔE00 4.90
True Blue
#010FCC
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C23A0 #97A023
analogous
#2358A0 #2C23A0 #6A23A0
triadic
#2C23A0 #A02C23 #23A02C
tetradic
#2C23A0 #A02358 #97A023 #23A06A
square
#2C23A0 #A02358 #97A023 #23A06A
split-complementary
#2C23A0 #A06A23 #58A023
monochromatic
#100D3C #1E186E #2C23A0 #3A2FD1 #6A61DC
Accessibility & contrast
On white
11.32
#2C23A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2C23A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C23A0
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C23A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C23A0 | 1.00 | 11.32 | 1.86 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c23a0; /* rgb */ color: rgb(44, 35, 160); /* oklch */ color: oklch(36.9% 0.190 275.0);
Tailwind
colors: {
custom: {
50: '#7861bd',
500: '#2c23a0',
950: '#000000',
},
}SCSS
$custom: #2c23a0; $custom-light: #7861bd; $custom-dark: #000000;
JSON
{
"hex": "#2c23a0",
"rgb": {
"r": 44,
"g": 35,
"b": 160
},
"hsl": {
"h": 244.32,
"s": 64.103,
"l": 38.235
},
"oklch": {
"l": 0.36889,
"c": 0.18954,
"h": 275
},
"luminance": 0.04276
}Semantic roles & 50–950 ramp
primary
#2C23A0
secondary
#BAC15D
accent
#E741DB
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981