#1C138D#1C138D
#1C138D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.8% C 0.184 H 271.8°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1C138D |
|---|---|
| RGB | rgb(28, 19, 141) |
| HSL | hsl(244, 76%, 31%) |
| HSV | hsv(244, 87%, 55%) |
| CMYK | cmyk(80.1%, 86.5%, 0%, 44.7%) |
| CIE-LAB | lab(18.52, 44.82, -63.62) |
| CIE-LCH | lch(18.52, 77.82, 305.16°) |
| OKLab | oklab(31.75% 0.0059 -0.184) |
| OKLCH | oklch(31.75% 0.184 271.8) |
| XYZ | xyz(5.5179, 2.6351, 25.4120) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.44
Darkblue
#00008B
ΔE00 3.01
Cobalt Blue
#030AA7
ΔE00 3.55
Navy
#000080
ΔE00 3.80
Royal Blue (survey)
#0504AA
ΔE00 4.03
Indigo (survey)
#380282
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C138D #848D13
analogous
#13478D #1C138D #59138D
triadic
#1C138D #8D1C13 #138D1C
tetradic
#1C138D #8D1347 #848D13 #138D59
square
#1C138D #8D1347 #848D13 #138D59
split-complementary
#1C138D #8D5913 #478D13
monochromatic
#070421 #110C57 #1C138D #271AC3 #4336E4
Accessibility & contrast
On white
13.75
#1C138D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1C138D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C138D
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C138D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C138D | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#00278B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1c138d; /* rgb */ color: rgb(28, 19, 141); /* oklch */ color: oklch(31.8% 0.184 271.8);
Tailwind
colors: {
custom: {
50: '#6f56b0',
500: '#1c138d',
950: '#000000',
},
}SCSS
$custom: #1c138d; $custom-light: #6f56b0; $custom-dark: #000000;
JSON
{
"hex": "#1c138d",
"rgb": {
"r": 28,
"g": 19,
"b": 141
},
"hsl": {
"h": 244.426,
"s": 76.25,
"l": 31.373
},
"oklch": {
"l": 0.31752,
"c": 0.18413,
"h": 271.8
},
"luminance": 0.02636
}Semantic roles & 50–950 ramp
primary
#1C138D
secondary
#B7C13B
accent
#F335E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880