#2C319B#2C319B
#2C319B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.168 H 273.2°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2C319B |
|---|---|
| RGB | rgb(44, 49, 155) |
| HSL | hsl(237, 56%, 39%) |
| HSV | hsv(237, 72%, 61%) |
| CMYK | cmyk(71.6%, 68.4%, 0%, 39.2%) |
| CIE-LAB | lab(27.01, 34.19, -58.21) |
| CIE-LCH | lch(27.01, 67.51, 300.43°) |
| OKLab | oklab(38.49% 0.0094 -0.1682) |
| OKLCH | oklch(38.49% 0.168 273.2) |
| XYZ | xyz(8.0514, 5.0979, 31.5637) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.11
Blueberry
#464196
ΔE00 5.58
Darkslateblue
#483D8B
ΔE00 6.10
Royal
#0C1793
ΔE00 6.45
Indigo Blue
#3A18B1
ΔE00 6.59
Ocean Blue
#4F42B5
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C319B #9B962C
analogous
#2C699B #2C319B #5F2C9B
triadic
#2C319B #9B2C31 #319B2C
tetradic
#2C319B #9B2C69 #9B962C #2C9B5F
square
#2C319B #9B2C69 #9B962C #2C9B5F
split-complementary
#2C319B #9B5F2C #699B2C
monochromatic
#11133C #1E226B #2C319B #3C43C8 #6C71D5
Accessibility & contrast
On white
10.40
#2C319B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2C319B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C319B
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C319B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C319B | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c319b; /* rgb */ color: rgb(44, 49, 155); /* oklch */ color: oklch(38.5% 0.168 273.2);
Tailwind
colors: {
custom: {
50: '#7669b9',
500: '#2c319b',
950: '#000000',
},
}SCSS
$custom: #2c319b; $custom-light: #7669b9; $custom-dark: #000000;
JSON
{
"hex": "#2c319b",
"rgb": {
"r": 44,
"g": 49,
"b": 155
},
"hsl": {
"h": 237.297,
"s": 55.779,
"l": 39.02
},
"oklch": {
"l": 0.38486,
"c": 0.16848,
"h": 273.2
},
"luminance": 0.05099
}Semantic roles & 50–950 ramp
primary
#2C319B
secondary
#BCB867
accent
#D849DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81