#1C317F#1C317F
#1C317F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.134 H 267.4°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #1C317F |
|---|---|
| RGB | rgb(28, 49, 127) |
| HSL | hsl(227, 64%, 30%) |
| HSV | hsv(227, 78%, 50%) |
| CMYK | cmyk(78%, 61.4%, 0%, 50.2%) |
| CIE-LAB | lab(23.59, 21.65, -46.48) |
| CIE-LCH | lch(23.59, 51.27, 294.98°) |
| OKLab | oklab(34.95% -0.0062 -0.1342) |
| OKLCH | oklch(34.95% 0.134 267.4) |
| XYZ | xyz(5.4066, 3.9752, 20.5569) |
| Luminance | 0.0398 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.94
Sapphire (survey)
#2138AB
ΔE00 6.66
Marine Blue
#01386A
ΔE00 6.67
Darkish Blue
#014182
ΔE00 7.09
Darkslateblue
#483D8B
ΔE00 7.22
Midnight Blue
#191970
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C317F #7F6A1C
analogous
#1C627F #1C317F #391C7F
triadic
#1C317F #7F1C31 #317F1C
tetradic
#1C317F #7F1C62 #7F6A1C #1C7F39
square
#1C317F #7F1C62 #7F6A1C #1C7F39
split-complementary
#1C317F #7F391C #627F1C
monochromatic
#060A1B #111E4D #1C317F #2744B1 #4060D5
Accessibility & contrast
On white
11.70
#1C317F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#1C317F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C317F
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C317F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C317F | 1.00 | 11.70 | 1.80 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1c317f; /* rgb */ color: rgb(28, 49, 127); /* oklch */ color: oklch(34.9% 0.134 267.4);
Tailwind
colors: {
custom: {
50: '#6968a5',
500: '#1c317f',
950: '#000000',
},
}SCSS
$custom: #1c317f; $custom-light: #6968a5; $custom-dark: #000000;
JSON
{
"hex": "#1c317f",
"rgb": {
"r": 28,
"g": 49,
"b": 127
},
"hsl": {
"h": 227.273,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.34949,
"c": 0.13436,
"h": 267.4
},
"luminance": 0.03976
}Semantic roles & 50–950 ramp
primary
#1C317F
secondary
#B39B44
accent
#C441E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F