#1C238A#1C238A
#1C238A is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.166 H 270.4°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1C238A |
|---|---|
| RGB | rgb(28, 35, 138) |
| HSL | hsl(236, 66%, 33%) |
| HSV | hsv(236, 80%, 54%) |
| CMYK | cmyk(79.7%, 74.6%, 0%, 45.9%) |
| CIE-LAB | lab(21.14, 35.21, -57.40) |
| CIE-LCH | lch(21.14, 67.34, 301.53°) |
| OKLab | oklab(33.49% 0.0013 -0.1662) |
| OKLCH | oklch(33.49% 0.166 270.4) |
| XYZ | xyz(5.6658, 3.2833, 24.3750) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.17
Midnight Blue
#191970
ΔE00 4.43
Cobalt Blue
#030AA7
ΔE00 5.94
Darkblue
#00008B
ΔE00 6.46
Royal Blue (survey)
#0504AA
ΔE00 6.55
Navy
#000080
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C238A #8A831C
analogous
#1C5A8A #1C238A #4C1C8A
triadic
#1C238A #8A1C23 #238A1C
tetradic
#1C238A #8A1C5A #8A831C #1C8A4C
square
#1C238A #8A1C5A #8A831C #1C8A4C
split-complementary
#1C238A #8A4C1C #5A8A1C
monochromatic
#070924 #121657 #1C238A #2630BD #4750DA
Accessibility & contrast
On white
12.68
#1C238A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1C238A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C238A
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C238A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C238A | 1.00 | 12.68 | 1.66 | 12.68 |
| #FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388D
Deuteranopia (green-blind)
#002D88
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1c238a; /* rgb */ color: rgb(28, 35, 138); /* oklch */ color: oklch(33.5% 0.166 270.4);
Tailwind
colors: {
custom: {
50: '#6d5fad',
500: '#1c238a',
950: '#000000',
},
}SCSS
$custom: #1c238a; $custom-light: #6d5fad; $custom-dark: #000000;
JSON
{
"hex": "#1c238a",
"rgb": {
"r": 28,
"g": 35,
"b": 138
},
"hsl": {
"h": 236.182,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.3349,
"c": 0.16623,
"h": 270.4
},
"luminance": 0.03284
}Semantic roles & 50–950 ramp
primary
#1C238A
secondary
#BBB446
accent
#DE3FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F