#2C31C0#2C31C0
#2C31C0 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.3% C 0.215 H 271.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2C31C0 |
|---|---|
| RGB | rgb(44, 49, 192) |
| HSL | hsl(238, 63%, 46%) |
| HSV | hsv(238, 77%, 75%) |
| CMYK | cmyk(77.1%, 74.5%, 0%, 24.7%) |
| CIE-LAB | lab(30.73, 46.94, -74.25) |
| CIE-LCH | lch(30.73, 87.85, 302.30°) |
| OKLab | oklab(42.27% 0.0042 -0.215) |
| OKLCH | oklch(42.27% 0.215 271.1) |
| XYZ | xyz(11.6482, 6.5366, 50.5067) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.95
Blue Blue
#2242C7
ΔE00 4.81
Blue With A Hint Of Purple
#533CC6
ΔE00 5.09
Blurple
#5539CC
ΔE00 5.31
Indigo Blue
#3A18B1
ΔE00 5.51
Ocean Blue
#4F42B5
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C31C0 #C0BB2C
analogous
#2C7BC0 #2C31C0 #712CC0
triadic
#2C31C0 #C02C31 #31C02C
tetradic
#2C31C0 #C02C7B #C0BB2C #2CC071
square
#2C31C0 #C02C7B #C0BB2C #2CC071
split-complementary
#2C31C0 #C0712C #7BC02C
monochromatic
#15185C #21248E #2C31C0 #5256D7 #8487E3
Accessibility & contrast
On white
9.10
#2C31C0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2C31C0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C31C0
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C31C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C31C0 | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050C4
Deuteranopia (green-blind)
#0041BD
Tritanopia (blue-blind)
#005B76
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c31c0; /* rgb */ color: rgb(44, 49, 192); /* oklch */ color: oklch(42.3% 0.215 271.1);
Tailwind
colors: {
custom: {
50: '#7e6bd4',
500: '#2c31c0',
950: '#000000',
},
}SCSS
$custom: #2c31c0; $custom-light: #7e6bd4; $custom-dark: #000000;
JSON
{
"hex": "#2c31c0",
"rgb": {
"r": 44,
"g": 49,
"b": 192
},
"hsl": {
"h": 237.973,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.42266,
"c": 0.21504,
"h": 271.1
},
"luminance": 0.06538
}Semantic roles & 50–950 ramp
primary
#2C31C0
secondary
#CCC97C
accent
#E042E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83