#1C188F#1C188F
#1C188F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.183 H 271.3°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1C188F |
|---|---|
| RGB | rgb(28, 24, 143) |
| HSL | hsl(242, 71%, 33%) |
| HSV | hsv(242, 83%, 56%) |
| CMYK | cmyk(80.4%, 83.2%, 0%, 43.9%) |
| CIE-LAB | lab(19.57, 43.11, -63.13) |
| CIE-LCH | lch(19.57, 76.44, 304.33°) |
| OKLab | oklab(32.55% 0.0042 -0.1827) |
| OKLCH | oklch(32.55% 0.183 271.3) |
| XYZ | xyz(5.7618, 2.8827, 26.2340) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.00
Cobalt Blue
#030AA7
ΔE00 3.65
Darkblue
#00008B
ΔE00 3.90
Royal Blue (survey)
#0504AA
ΔE00 4.20
Navy
#000080
ΔE00 4.68
Midnight Blue
#191970
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C188F #8B8F18
analogous
#184F8F #1C188F #58188F
triadic
#1C188F #8F1C18 #188F1C
tetradic
#1C188F #8F184F #8B8F18 #188F58
square
#1C188F #8F184F #8B8F18 #188F58
split-complementary
#1C188F #8F5818 #4F8F18
monochromatic
#070626 #120F5B #1C188F #2621C3 #4742DF
Accessibility & contrast
On white
13.32
#1C188F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1C188F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C188F
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C188F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C188F | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1c188f; /* rgb */ color: rgb(28, 24, 143); /* oklch */ color: oklch(32.5% 0.183 271.3);
Tailwind
colors: {
custom: {
50: '#6f58b1',
500: '#1c188f',
950: '#000000',
},
}SCSS
$custom: #1c188f; $custom-light: #6f58b1; $custom-dark: #000000;
JSON
{
"hex": "#1c188f",
"rgb": {
"r": 28,
"g": 24,
"b": 143
},
"hsl": {
"h": 242.017,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.32549,
"c": 0.18276,
"h": 271.3
},
"luminance": 0.02883
}Semantic roles & 50–950 ramp
primary
#1C188F
secondary
#BCC043
accent
#EE3AE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980