#2C319A#2C319A
#2C319A is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.167 H 273.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2C319A |
|---|---|
| RGB | rgb(44, 49, 154) |
| HSL | hsl(237, 56%, 39%) |
| HSV | hsv(237, 71%, 60%) |
| CMYK | cmyk(71.4%, 68.2%, 0%, 39.6%) |
| CIE-LAB | lab(26.92, 33.84, -57.75) |
| CIE-LCH | lch(26.92, 66.93, 300.37°) |
| OKLab | oklab(38.39% 0.0095 -0.1669) |
| OKLCH | oklch(38.39% 0.167 273.3) |
| XYZ | xyz(7.9678, 5.0644, 31.1232) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.20
Blueberry
#464196
ΔE00 5.55
Darkslateblue
#483D8B
ΔE00 6.03
Royal
#0C1793
ΔE00 6.44
Indigo Blue
#3A18B1
ΔE00 6.69
Ocean Blue
#4F42B5
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C319A #9A952C
analogous
#2C689A #2C319A #5E2C9A
triadic
#2C319A #9A2C31 #319A2C
tetradic
#2C319A #9A2C68 #9A952C #2C9A5E
square
#2C319A #9A2C68 #9A952C #2C9A5E
split-complementary
#2C319A #9A5E2C #689A2C
monochromatic
#11133B #1E226A #2C319A #3C42C7 #6C70D5
Accessibility & contrast
On white
10.43
#2C319A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2C319A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C319A
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C319A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C319A | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c319a; /* rgb */ color: rgb(44, 49, 154); /* oklch */ color: oklch(38.4% 0.167 273.3);
Tailwind
colors: {
custom: {
50: '#7569b9',
500: '#2c319a',
950: '#000000',
},
}SCSS
$custom: #2c319a; $custom-light: #7569b9; $custom-dark: #000000;
JSON
{
"hex": "#2c319a",
"rgb": {
"r": 44,
"g": 49,
"b": 154
},
"hsl": {
"h": 237.273,
"s": 55.556,
"l": 38.824
},
"oklch": {
"l": 0.38389,
"c": 0.16715,
"h": 273.3
},
"luminance": 0.05065
}Semantic roles & 50–950 ramp
primary
#2C319A
secondary
#BCB866
accent
#D849DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81