#1C417F#1C417F
#1C417F is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.113 H 260.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1C417F |
|---|---|
| RGB | rgb(28, 65, 127) |
| HSL | hsl(218, 64%, 30%) |
| HSV | hsv(218, 78%, 50%) |
| CMYK | cmyk(78%, 48.8%, 0%, 50.2%) |
| CIE-LAB | lab(28.27, 10.43, -38.89) |
| CIE-LCH | lch(28.27, 40.27, 285.02°) |
| OKLab | oklab(38.5% -0.0194 -0.1116) |
| OKLCH | oklch(38.5% 0.113 260.1) |
| XYZ | xyz(6.1986, 5.5591, 20.8209) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.06
Twilight Blue
#0A437A
ΔE00 2.77
Cobalt (survey)
#1E488F
ΔE00 2.88
Marine Blue
#01386A
ΔE00 4.23
Prussian Blue
#004577
ΔE00 4.44
Cobalt
#0047AB
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C417F #7F5A1C
analogous
#1C727F #1C417F #291C7F
triadic
#1C417F #7F1C41 #417F1C
tetradic
#1C417F #7F1C72 #7F5A1C #1C7F29
square
#1C417F #7F1C72 #7F5A1C #1C7F29
split-complementary
#1C417F #7F291C #727F1C
monochromatic
#060E1B #11274D #1C417F #275BB1 #4078D5
Accessibility & contrast
On white
9.94
#1C417F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#1C417F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C417F
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C417F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C417F | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4881
Deuteranopia (green-blind)
#053E7E
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1c417f; /* rgb */ color: rgb(28, 65, 127); /* oklch */ color: oklch(38.5% 0.113 260.1);
Tailwind
colors: {
custom: {
50: '#6875a4',
500: '#1c417f',
950: '#000000',
},
}SCSS
$custom: #1c417f; $custom-light: #6875a4; $custom-dark: #000000;
JSON
{
"hex": "#1c417f",
"rgb": {
"r": 28,
"g": 65,
"b": 127
},
"hsl": {
"h": 217.576,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.38498,
"c": 0.1133,
"h": 260.1
},
"luminance": 0.0556
}Semantic roles & 50–950 ramp
primary
#1C417F
secondary
#B38944
accent
#A941E7
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F