#2C239F#2C239F
#2C239F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.188 H 275.1°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2C239F |
|---|---|
| RGB | rgb(44, 35, 159) |
| HSL | hsl(244, 64%, 38%) |
| HSV | hsv(244, 78%, 62%) |
| CMYK | cmyk(72.3%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(24.45, 43.81, -64.87) |
| CIE-LCH | lch(24.45, 78.28, 304.04°) |
| OKLab | oklab(36.78% 0.0167 -0.1876) |
| OKLCH | oklch(36.78% 0.188 275.1) |
| XYZ | xyz(7.8957, 4.2400, 33.1965) |
| Luminance | 0.0424 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.51
Royal
#0C1793
ΔE00 3.72
Cobalt Blue
#030AA7
ΔE00 4.46
Royal Blue (survey)
#0504AA
ΔE00 4.92
Ultramarine
#2000B1
ΔE00 4.96
True Blue
#010FCC
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C239F #969F23
analogous
#23589F #2C239F #6A239F
triadic
#2C239F #9F2C23 #239F2C
tetradic
#2C239F #9F2358 #969F23 #239F6A
square
#2C239F #9F2358 #969F23 #239F6A
split-complementary
#2C239F #9F6A23 #589F23
monochromatic
#100D3B #1E186D #2C239F #3A2ED1 #6960DC
Accessibility & contrast
On white
11.36
#2C239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2C239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C239F
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C239F | 1.00 | 11.36 | 1.85 | 11.36 |
| #FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c239f; /* rgb */ color: rgb(44, 35, 159); /* oklch */ color: oklch(36.8% 0.188 275.1);
Tailwind
colors: {
custom: {
50: '#7861bd',
500: '#2c239f',
950: '#000000',
},
}SCSS
$custom: #2c239f; $custom-light: #7861bd; $custom-dark: #000000;
JSON
{
"hex": "#2c239f",
"rgb": {
"r": 44,
"g": 35,
"b": 159
},
"hsl": {
"h": 244.355,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.36779,
"c": 0.18832,
"h": 275.1
},
"luminance": 0.04241
}Semantic roles & 50–950 ramp
primary
#2C239F
secondary
#BAC15D
accent
#E741DB
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981