#1C318A#1C318A
#1C318A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.150 H 267.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1C318A |
|---|---|
| RGB | rgb(28, 49, 138) |
| HSL | hsl(229, 66%, 33%) |
| HSV | hsv(229, 80%, 54%) |
| CMYK | cmyk(79.7%, 64.5%, 0%, 45.9%) |
| CIE-LAB | lab(24.57, 26.01, -51.77) |
| CIE-LCH | lch(24.57, 57.93, 296.67°) |
| OKLab | oklab(35.98% -0.0062 -0.1497) |
| OKLCH | oklch(35.98% 0.15 267.6) |
| XYZ | xyz(6.1631, 4.2778, 24.5407) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.01
Blueberry
#464196
ΔE00 6.75
Darkslateblue
#483D8B
ΔE00 6.89
Royal
#0C1793
ΔE00 7.23
Midnight Blue
#191970
ΔE00 7.39
Marine
#042E60
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C318A #8A751C
analogous
#1C688A #1C318A #3E1C8A
triadic
#1C318A #8A1C31 #318A1C
tetradic
#1C318A #8A1C68 #8A751C #1C8A3E
square
#1C318A #8A1C68 #8A751C #1C8A3E
split-complementary
#1C318A #8A3E1C #688A1C
monochromatic
#070D24 #121F57 #1C318A #2643BD #4763DA
Accessibility & contrast
On white
11.32
#1C318A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#1C318A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C318A
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C318A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C318A | 1.00 | 11.32 | 1.86 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1c318a; /* rgb */ color: rgb(28, 49, 138); /* oklch */ color: oklch(36.0% 0.150 267.6);
Tailwind
colors: {
custom: {
50: '#6b68ad',
500: '#1c318a',
950: '#000000',
},
}SCSS
$custom: #1c318a; $custom-light: #6b68ad; $custom-dark: #000000;
JSON
{
"hex": "#1c318a",
"rgb": {
"r": 28,
"g": 49,
"b": 138
},
"hsl": {
"h": 228.545,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.3598,
"c": 0.14986,
"h": 267.6
},
"luminance": 0.04278
}Semantic roles & 50–950 ramp
primary
#1C318A
secondary
#BBA546
accent
#C93FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F