#1C318E#1C318E
#1C318E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.155 H 267.7°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1C318E |
|---|---|
| RGB | rgb(28, 49, 142) |
| HSL | hsl(229, 67%, 33%) |
| HSV | hsv(229, 80%, 56%) |
| CMYK | cmyk(80.3%, 65.5%, 0%, 44.3%) |
| CIE-LAB | lab(24.94, 27.57, -53.64) |
| CIE-LCH | lch(24.94, 60.31, 297.20°) |
| OKLab | oklab(36.37% -0.0063 -0.1552) |
| OKLCH | oklch(36.37% 0.155 267.7) |
| XYZ | xyz(6.4580, 4.3958, 26.0940) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.45
Blueberry
#464196
ΔE00 6.61
Darkslateblue
#483D8B
ΔE00 6.88
Royal
#0C1793
ΔE00 6.96
Midnight Blue
#191970
ΔE00 7.57
Darkish Blue
#014182
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C318E #8E791C
analogous
#1C6A8E #1C318E #401C8E
triadic
#1C318E #8E1C31 #318E1C
tetradic
#1C318E #8E1C6A #8E791C #1C8E40
square
#1C318E #8E1C6A #8E791C #1C8E40
split-complementary
#1C318E #8E401C #6A8E1C
monochromatic
#080E28 #121F5B #1C318E #2643C1 #4964DB
Accessibility & contrast
On white
11.17
#1C318E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#1C318E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C318E
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C318E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C318E | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1c318e; /* rgb */ color: rgb(28, 49, 142); /* oklch */ color: oklch(36.4% 0.155 267.7);
Tailwind
colors: {
custom: {
50: '#6d69b0',
500: '#1c318e',
950: '#000000',
},
}SCSS
$custom: #1c318e; $custom-light: #6d69b0; $custom-dark: #000000;
JSON
{
"hex": "#1c318e",
"rgb": {
"r": 28,
"g": 49,
"b": 142
},
"hsl": {
"h": 228.947,
"s": 67.059,
"l": 33.333
},
"oklch": {
"l": 0.36367,
"c": 0.15536,
"h": 267.7
},
"luminance": 0.04396
}Semantic roles & 50–950 ramp
primary
#1C318E
secondary
#BDA849
accent
#CA3EEA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80