#2C239C#2C239C
#2C239C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.185 H 275.4°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2C239C |
|---|---|
| RGB | rgb(44, 35, 156) |
| HSL | hsl(244, 63%, 37%) |
| HSV | hsv(244, 78%, 61%) |
| CMYK | cmyk(71.8%, 77.6%, 0%, 38.8%) |
| CIE-LAB | lab(24.12, 42.84, -63.58) |
| CIE-LCH | lch(24.12, 76.67, 303.97°) |
| OKLab | oklab(36.45% 0.0174 -0.1838) |
| OKLCH | oklch(36.45% 0.185 275.4) |
| XYZ | xyz(7.6385, 4.1371, 31.8420) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.54
Indigo Blue
#3A18B1
ΔE00 3.84
Cobalt Blue
#030AA7
ΔE00 4.56
Royal Blue (survey)
#0504AA
ΔE00 5.04
Ultramarine
#2000B1
ΔE00 5.17
Sapphire (survey)
#2138AB
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C239C #939C23
analogous
#23569C #2C239C #69239C
triadic
#2C239C #9C2C23 #239C2C
tetradic
#2C239C #9C2356 #939C23 #239C69
square
#2C239C #9C2356 #939C23 #239C69
split-complementary
#2C239C #9C6923 #569C23
monochromatic
#100D38 #1E186A #2C239C #3A2ECE #685EDB
Accessibility & contrast
On white
11.49
#2C239C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2C239C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C239C
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C239C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C239C | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2c239c; /* rgb */ color: rgb(44, 35, 156); /* oklch */ color: oklch(36.4% 0.185 275.4);
Tailwind
colors: {
custom: {
50: '#7760ba',
500: '#2c239c',
950: '#000000',
},
}SCSS
$custom: #2c239c; $custom-light: #7760ba; $custom-dark: #000000;
JSON
{
"hex": "#2c239c",
"rgb": {
"r": 44,
"g": 35,
"b": 156
},
"hsl": {
"h": 244.463,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.3645,
"c": 0.18466,
"h": 275.4
},
"luminance": 0.04138
}Semantic roles & 50–950 ramp
primary
#2C239C
secondary
#B8C05B
accent
#E641DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981