#2C319C#2C319C
#2C319C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.170 H 273.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2C319C |
|---|---|
| RGB | rgb(44, 49, 156) |
| HSL | hsl(237, 56%, 39%) |
| HSV | hsv(237, 72%, 61%) |
| CMYK | cmyk(71.8%, 68.6%, 0%, 38.8%) |
| CIE-LAB | lab(27.11, 34.55, -58.66) |
| CIE-LCH | lch(27.11, 68.08, 300.50°) |
| OKLab | oklab(38.58% 0.0093 -0.1695) |
| OKLCH | oklch(38.58% 0.17 273.1) |
| XYZ | xyz(8.1358, 5.1316, 32.0078) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.02
Blueberry
#464196
ΔE00 5.61
Darkslateblue
#483D8B
ΔE00 6.17
Royal
#0C1793
ΔE00 6.46
Indigo Blue
#3A18B1
ΔE00 6.50
Ocean Blue
#4F42B5
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C319C #9C972C
analogous
#2C699C #2C319C #5F2C9C
triadic
#2C319C #9C2C31 #319C2C
tetradic
#2C319C #9C2C69 #9C972C #2C9C5F
square
#2C319C #9C2C69 #9C972C #2C9C5F
split-complementary
#2C319C #9C5F2C #699C2C
monochromatic
#11133D #1F226C #2C319C #3D43C8 #6D71D6
Accessibility & contrast
On white
10.36
#2C319C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2C319C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C319C
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C319C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C319C | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c319c; /* rgb */ color: rgb(44, 49, 156); /* oklch */ color: oklch(38.6% 0.170 273.1);
Tailwind
colors: {
custom: {
50: '#7669ba',
500: '#2c319c',
950: '#000000',
},
}SCSS
$custom: #2c319c; $custom-light: #7669ba; $custom-dark: #000000;
JSON
{
"hex": "#2c319c",
"rgb": {
"r": 44,
"g": 49,
"b": 156
},
"hsl": {
"h": 237.321,
"s": 56,
"l": 39.216
},
"oklch": {
"l": 0.38583,
"c": 0.1698,
"h": 273.1
},
"luminance": 0.05132
}Semantic roles & 50–950 ramp
primary
#2C319C
secondary
#BDB967
accent
#D949DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81