#1C187F#1C187F
#1C187F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.163 H 272.8°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1C187F |
|---|---|
| RGB | rgb(28, 24, 127) |
| HSL | hsl(242, 68%, 30%) |
| HSV | hsv(242, 81%, 50%) |
| CMYK | cmyk(78%, 81.1%, 0%, 50.2%) |
| CIE-LAB | lab(17.61, 37.81, -56.31) |
| CIE-LCH | lch(17.61, 67.83, 303.88°) |
| OKLab | oklab(30.62% 0.008 -0.163) |
| OKLCH | oklch(30.62% 0.163 272.8) |
| XYZ | xyz(4.6350, 2.4320, 20.2997) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.54
Royal
#0C1793
ΔE00 2.98
Dark Royal Blue
#02066F
ΔE00 4.30
Navy
#000080
ΔE00 4.31
Darkblue
#00008B
ΔE00 4.36
Deep Blue
#040273
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C187F #7B7F18
analogous
#18487F #1C187F #50187F
triadic
#1C187F #7F1C18 #187F1C
tetradic
#1C187F #7F1848 #7B7F18 #187F50
square
#1C187F #7F1848 #7B7F18 #187F50
split-complementary
#1C187F #7F5018 #487F18
monochromatic
#06051A #110E4C #1C187F #2722B2 #3E38D9
Accessibility & contrast
On white
14.13
#1C187F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1C187F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C187F
14.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C187F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C187F | 1.00 | 14.13 | 1.49 | 14.13 |
| #FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1c187f; /* rgb */ color: rgb(28, 24, 127); /* oklch */ color: oklch(30.6% 0.163 272.8);
Tailwind
colors: {
custom: {
50: '#6b57a5',
500: '#1c187f',
950: '#000000',
},
}SCSS
$custom: #1c187f; $custom-light: #6b57a5; $custom-dark: #000000;
JSON
{
"hex": "#1c187f",
"rgb": {
"r": 28,
"g": 24,
"b": 127
},
"hsl": {
"h": 242.33,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.30616,
"c": 0.16314,
"h": 272.8
},
"luminance": 0.02432
}Semantic roles & 50–950 ramp
primary
#1C187F
secondary
#AFB33F
accent
#EB3DE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F