#2C23A8#2C23A8
#2C23A8 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.199 H 274.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2C23A8 |
|---|---|
| RGB | rgb(44, 35, 168) |
| HSL | hsl(244, 66%, 40%) |
| HSV | hsv(244, 79%, 66%) |
| CMYK | cmyk(73.8%, 79.2%, 0%, 34.1%) |
| CIE-LAB | lab(25.45, 46.70, -68.67) |
| CIE-LCH | lch(25.45, 83.04, 304.22°) |
| OKLab | oklab(37.78% 0.0146 -0.1986) |
| OKLCH | oklch(37.78% 0.199 274.2) |
| XYZ | xyz(8.7053, 4.5638, 37.4603) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.70
Cobalt Blue
#030AA7
ΔE00 4.43
Royal
#0C1793
ΔE00 4.49
Ultramarine
#2000B1
ΔE00 4.55
Royal Blue (survey)
#0504AA
ΔE00 4.80
True Blue
#010FCC
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C23A8 #9FA823
analogous
#235DA8 #2C23A8 #6E23A8
triadic
#2C23A8 #A82C23 #23A82C
tetradic
#2C23A8 #A8235D #9FA823 #23A86E
square
#2C23A8 #A8235D #9FA823 #23A86E
split-complementary
#2C23A8 #A86E23 #5DA823
monochromatic
#110E43 #1F1875 #2C23A8 #3E34D5 #6E66DF
Accessibility & contrast
On white
10.98
#2C23A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2C23A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C23A8
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C23A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C23A8 | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c23a8; /* rgb */ color: rgb(44, 35, 168); /* oklch */ color: oklch(37.8% 0.199 274.2);
Tailwind
colors: {
custom: {
50: '#7a61c3',
500: '#2c23a8',
950: '#000000',
},
}SCSS
$custom: #2c23a8; $custom-light: #7a61c3; $custom-dark: #000000;
JSON
{
"hex": "#2c23a8",
"rgb": {
"r": 44,
"g": 35,
"b": 168
},
"hsl": {
"h": 244.06,
"s": 65.517,
"l": 39.804
},
"oklch": {
"l": 0.37778,
"c": 0.19916,
"h": 274.2
},
"luminance": 0.04565
}Semantic roles & 50–950 ramp
primary
#2C23A8
secondary
#BEC562
accent
#E83FDD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982