#1C317D#1C317D
#1C317D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.131 H 267.3°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1C317D |
|---|---|
| RGB | rgb(28, 49, 125) |
| HSL | hsl(227, 63%, 30%) |
| HSV | hsv(227, 78%, 49%) |
| CMYK | cmyk(77.6%, 60.8%, 0%, 51%) |
| CIE-LAB | lab(23.42, 20.85, -45.50) |
| CIE-LCH | lch(23.42, 50.05, 294.62°) |
| OKLab | oklab(34.77% -0.0063 -0.1313) |
| OKLCH | oklch(34.77% 0.131 267.3) |
| XYZ | xyz(5.2776, 3.9236, 19.8772) |
| Luminance | 0.0392 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.65
Marine Blue
#01386A
ΔE00 6.47
Sapphire (survey)
#2138AB
ΔE00 6.97
Darkish Blue
#014182
ΔE00 7.02
Midnight Blue
#191970
ΔE00 7.29
Darkslateblue
#483D8B
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C317D #7D681C
analogous
#1C627D #1C317D #371C7D
triadic
#1C317D #7D1C31 #317D1C
tetradic
#1C317D #7D1C62 #7D681C #1C7D37
square
#1C317D #7D1C62 #7D681C #1C7D37
split-complementary
#1C317D #7D371C #627D1C
monochromatic
#060A19 #111D4B #1C317D #2745AF #3F60D4
Accessibility & contrast
On white
11.77
#1C317D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#1C317D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C317D
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C317D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C317D | 1.00 | 11.77 | 1.78 | 11.77 |
| #FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1c317d; /* rgb */ color: rgb(28, 49, 125); /* oklch */ color: oklch(34.8% 0.131 267.3);
Tailwind
colors: {
custom: {
50: '#6868a3',
500: '#1c317d',
950: '#000000',
},
}SCSS
$custom: #1c317d; $custom-light: #6868a3; $custom-dark: #000000;
JSON
{
"hex": "#1c317d",
"rgb": {
"r": 28,
"g": 49,
"b": 125
},
"hsl": {
"h": 227.01,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.34767,
"c": 0.13149,
"h": 267.3
},
"luminance": 0.03924
}Semantic roles & 50–950 ramp
primary
#1C317D
secondary
#B19944
accent
#C341E6
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F