#2C23A3#2C23A3
#2C23A3 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.193 H 274.7°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2C23A3 |
|---|---|
| RGB | rgb(44, 35, 163) |
| HSL | hsl(244, 65%, 39%) |
| HSV | hsv(244, 79%, 64%) |
| CMYK | cmyk(73%, 78.5%, 0%, 36.1%) |
| CIE-LAB | lab(24.89, 45.10, -66.57) |
| CIE-LCH | lch(24.89, 80.41, 304.12°) |
| OKLab | oklab(37.22% 0.0157 -0.1925) |
| OKLCH | oklch(37.22% 0.193 274.7) |
| XYZ | xyz(8.2484, 4.3811, 35.0542) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.11
Royal
#0C1793
ΔE00 4.03
Cobalt Blue
#030AA7
ΔE00 4.40
Ultramarine
#2000B1
ΔE00 4.74
Royal Blue (survey)
#0504AA
ΔE00 4.82
True Blue
#010FCC
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C23A3 #9AA323
analogous
#235AA3 #2C23A3 #6C23A3
triadic
#2C23A3 #A32C23 #23A32C
tetradic
#2C23A3 #A3235A #9AA323 #23A36C
square
#2C23A3 #A3235A #9AA323 #23A36C
split-complementary
#2C23A3 #A36C23 #5AA323
monochromatic
#110D3E #1E1871 #2C23A3 #3C31D3 #6C63DD
Accessibility & contrast
On white
11.19
#2C23A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2C23A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C23A3
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C23A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C23A3 | 1.00 | 11.19 | 1.88 | 11.19 |
| #FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0035A1
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c23a3; /* rgb */ color: rgb(44, 35, 163); /* oklch */ color: oklch(37.2% 0.193 274.7);
Tailwind
colors: {
custom: {
50: '#7961c0',
500: '#2c23a3',
950: '#000000',
},
}SCSS
$custom: #2c23a3; $custom-light: #7961c0; $custom-dark: #000000;
JSON
{
"hex": "#2c23a3",
"rgb": {
"r": 44,
"g": 35,
"b": 163
},
"hsl": {
"h": 244.219,
"s": 64.646,
"l": 38.824
},
"oklch": {
"l": 0.37221,
"c": 0.19317,
"h": 274.7
},
"luminance": 0.04382
}Semantic roles & 50–950 ramp
primary
#2C23A3
secondary
#BCC35F
accent
#E840DC
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981