#1C187B#1C187B
#1C187B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.158 H 273.2°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1C187B |
|---|---|
| RGB | rgb(28, 24, 123) |
| HSL | hsl(242, 67%, 29%) |
| HSV | hsv(242, 80%, 48%) |
| CMYK | cmyk(77.2%, 80.5%, 0%, 51.8%) |
| CIE-LAB | lab(17.13, 36.45, -54.55) |
| CIE-LCH | lch(17.13, 65.61, 303.75°) |
| OKLab | oklab(30.14% 0.0089 -0.1578) |
| OKLCH | oklch(30.14% 0.158 273.2) |
| XYZ | xyz(4.3795, 2.3298, 18.9539) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.93
Royal
#0C1793
ΔE00 3.58
Dark Royal Blue
#02066F
ΔE00 4.06
Deep Blue
#040273
ΔE00 4.40
Navy
#000080
ΔE00 4.45
Darkblue
#00008B
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C187B #777B18
analogous
#18467B #1C187B #4E187B
triadic
#1C187B #7B1C18 #187B1C
tetradic
#1C187B #7B1846 #777B18 #187B4E
square
#1C187B #7B1846 #777B18 #187B4E
split-complementary
#1C187B #7B4E18 #467B18
monochromatic
#06051A #100E48 #1C187B #2822AE #3C36D8
Accessibility & contrast
On white
14.32
#1C187B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#1C187B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C187B
14.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C187B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C187B | 1.00 | 14.32 | 1.47 | 14.32 |
| #FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1c187b; /* rgb */ color: rgb(28, 24, 123); /* oklch */ color: oklch(30.1% 0.158 273.2);
Tailwind
colors: {
custom: {
50: '#6a57a2',
500: '#1c187b',
950: '#000000',
},
}SCSS
$custom: #1c187b; $custom-light: #6a57a2; $custom-dark: #000000;
JSON
{
"hex": "#1c187b",
"rgb": {
"r": 28,
"g": 24,
"b": 123
},
"hsl": {
"h": 242.424,
"s": 67.347,
"l": 28.824
},
"oklch": {
"l": 0.30141,
"c": 0.15809,
"h": 273.2
},
"luminance": 0.0233
}Semantic roles & 50–950 ramp
primary
#1C187B
secondary
#ABB03F
accent
#EA3EE3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F