#2C318E#2C318E
#2C318E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.151 H 274.0°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2C318E |
|---|---|
| RGB | rgb(44, 49, 142) |
| HSL | hsl(237, 53%, 36%) |
| HSV | hsv(237, 69%, 56%) |
| CMYK | cmyk(69%, 65.5%, 0%, 44.3%) |
| CIE-LAB | lab(25.82, 29.52, -52.17) |
| CIE-LCH | lch(25.82, 59.95, 299.50°) |
| OKLab | oklab(37.25% 0.0106 -0.1505) |
| OKLCH | oklch(37.25% 0.151 274) |
| XYZ | xyz(7.0179, 4.6845, 26.1203) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.57
Darkslateblue
#483D8B
ΔE00 5.42
Blueberry
#464196
ΔE00 5.45
Royal
#0C1793
ΔE00 6.74
Midnight Blue
#191970
ΔE00 7.35
Indigo Blue
#3A18B1
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C318E #8E892C
analogous
#2C628E #2C318E #582C8E
triadic
#2C318E #8E2C31 #318E2C
tetradic
#2C318E #8E2C62 #8E892C #2C8E58
square
#2C318E #8E2C62 #8E892C #2C8E58
split-complementary
#2C318E #8E582C #628E2C
monochromatic
#0F1131 #1E215F #2C318E #3A41BD #656BCF
Accessibility & contrast
On white
10.84
#2C318E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2C318E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C318E
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C318E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C318E | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c318e; /* rgb */ color: rgb(44, 49, 142); /* oklch */ color: oklch(37.2% 0.151 274.0);
Tailwind
colors: {
custom: {
50: '#7369b0',
500: '#2c318e',
950: '#000000',
},
}SCSS
$custom: #2c318e; $custom-light: #7369b0; $custom-dark: #000000;
JSON
{
"hex": "#2c318e",
"rgb": {
"r": 44,
"g": 49,
"b": 142
},
"hsl": {
"h": 236.939,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.37248,
"c": 0.15092,
"h": 274
},
"luminance": 0.04685
}Semantic roles & 50–950 ramp
primary
#2C318E
secondary
#B6B160
accent
#D54CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80