#2C31BF#2C31BF
#2C31BF is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.2% C 0.214 H 271.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2C31BF |
|---|---|
| RGB | rgb(44, 49, 191) |
| HSL | hsl(238, 63%, 46%) |
| HSV | hsv(238, 77%, 75%) |
| CMYK | cmyk(77%, 74.3%, 0%, 25.1%) |
| CIE-LAB | lab(30.62, 46.61, -73.84) |
| CIE-LCH | lch(30.62, 87.32, 302.26°) |
| OKLab | oklab(42.16% 0.0043 -0.2138) |
| OKLCH | oklch(42.16% 0.214 271.2) |
| XYZ | xyz(11.5378, 6.4924, 49.9252) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.86
Blue Blue
#2242C7
ΔE00 4.84
Blue With A Hint Of Purple
#533CC6
ΔE00 5.14
Blurple
#5539CC
ΔE00 5.38
Indigo Blue
#3A18B1
ΔE00 5.47
Ocean Blue
#4F42B5
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C31BF #BFBA2C
analogous
#2C7ABF #2C31BF #702CBF
triadic
#2C31BF #BF2C31 #31BF2C
tetradic
#2C31BF #BF2C7A #BFBA2C #2CBF70
square
#2C31BF #BF2C7A #BFBA2C #2CBF70
split-complementary
#2C31BF #BF702C #7ABF2C
monochromatic
#15175C #21248D #2C31BF #5156D7 #8386E2
Accessibility & contrast
On white
9.14
#2C31BF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2C31BF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C31BF
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C31BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C31BF | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FC3
Deuteranopia (green-blind)
#0041BC
Tritanopia (blue-blind)
#005B76
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c31bf; /* rgb */ color: rgb(44, 49, 191); /* oklch */ color: oklch(42.2% 0.214 271.2);
Tailwind
colors: {
custom: {
50: '#7e6bd4',
500: '#2c31bf',
950: '#000000',
},
}SCSS
$custom: #2c31bf; $custom-light: #7e6bd4; $custom-dark: #000000;
JSON
{
"hex": "#2c31bf",
"rgb": {
"r": 44,
"g": 49,
"b": 191
},
"hsl": {
"h": 237.959,
"s": 62.553,
"l": 46.078
},
"oklch": {
"l": 0.4216,
"c": 0.21384,
"h": 271.2
},
"luminance": 0.06494
}Semantic roles & 50–950 ramp
primary
#2C31BF
secondary
#CCC97B
accent
#E042E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83