#1C138F#1C138F
#1C138F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.186 H 271.6°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1C138F |
|---|---|
| RGB | rgb(28, 19, 143) |
| HSL | hsl(244, 77%, 32%) |
| HSV | hsv(244, 87%, 56%) |
| CMYK | cmyk(80.4%, 86.7%, 0%, 43.9%) |
| CIE-LAB | lab(18.78, 45.43, -64.44) |
| CIE-LCH | lch(18.78, 78.84, 305.19°) |
| OKLab | oklab(32.01% 0.0053 -0.1864) |
| OKLCH | oklch(32.01% 0.186 271.6) |
| XYZ | xyz(5.6680, 2.6952, 26.2028) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.32
Darkblue
#00008B
ΔE00 3.06
Cobalt Blue
#030AA7
ΔE00 3.28
Royal Blue (survey)
#0504AA
ΔE00 3.77
Navy
#000080
ΔE00 3.95
Indigo (survey)
#380282
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C138F #868F13
analogous
#13488F #1C138F #5A138F
triadic
#1C138F #8F1C13 #138F1C
tetradic
#1C138F #8F1348 #868F13 #138F5A
square
#1C138F #8F1348 #868F13 #138F5A
split-complementary
#1C138F #8F5A13 #488F13
monochromatic
#070523 #110C59 #1C138F #271AC5 #4438E5
Accessibility & contrast
On white
13.64
#1C138F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1C138F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C138F
13.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C138F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C138F | 1.00 | 13.64 | 1.54 | 13.64 |
| #FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003392
Deuteranopia (green-blind)
#00278D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1c138f; /* rgb */ color: rgb(28, 19, 143); /* oklch */ color: oklch(32.0% 0.186 271.6);
Tailwind
colors: {
custom: {
50: '#7056b1',
500: '#1c138f',
950: '#000000',
},
}SCSS
$custom: #1c138f; $custom-light: #7056b1; $custom-dark: #000000;
JSON
{
"hex": "#1c138f",
"rgb": {
"r": 28,
"g": 19,
"b": 143
},
"hsl": {
"h": 244.355,
"s": 76.543,
"l": 31.765
},
"oklch": {
"l": 0.32005,
"c": 0.18648,
"h": 271.6
},
"luminance": 0.02696
}Semantic roles & 50–950 ramp
primary
#1C138F
secondary
#B9C33B
accent
#F335E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880