#1C238E#1C238E
#1C238E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.171 H 270.2°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1C238E |
|---|---|
| RGB | rgb(28, 35, 142) |
| HSL | hsl(236, 67%, 33%) |
| HSV | hsv(236, 80%, 56%) |
| CMYK | cmyk(80.3%, 75.4%, 0%, 44.3%) |
| CIE-LAB | lab(21.58, 36.65, -59.17) |
| CIE-LCH | lch(21.58, 69.60, 301.78°) |
| OKLab | oklab(33.93% 0.0007 -0.1714) |
| OKLCH | oklch(33.93% 0.171 270.2) |
| XYZ | xyz(5.9607, 3.4013, 25.9283) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.89
Midnight Blue
#191970
ΔE00 4.94
Cobalt Blue
#030AA7
ΔE00 5.49
Royal Blue (survey)
#0504AA
ΔE00 6.11
Darkblue
#00008B
ΔE00 6.37
Indigo Blue
#3A18B1
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C238E #8E871C
analogous
#1C5C8E #1C238E #4E1C8E
triadic
#1C238E #8E1C23 #238E1C
tetradic
#1C238E #8E1C5C #8E871C #1C8E4E
square
#1C238E #8E1C5C #8E871C #1C8E4E
split-complementary
#1C238E #8E4E1C #5C8E1C
monochromatic
#080A28 #12165B #1C238E #2630C1 #4952DB
Accessibility & contrast
On white
12.50
#1C238E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1C238E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C238E
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C238E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C238E | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#002E8C
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1c238e; /* rgb */ color: rgb(28, 35, 142); /* oklch */ color: oklch(33.9% 0.171 270.2);
Tailwind
colors: {
custom: {
50: '#6e5fb0',
500: '#1c238e',
950: '#000000',
},
}SCSS
$custom: #1c238e; $custom-light: #6e5fb0; $custom-dark: #000000;
JSON
{
"hex": "#1c238e",
"rgb": {
"r": 28,
"g": 35,
"b": 142
},
"hsl": {
"h": 236.316,
"s": 67.059,
"l": 33.333
},
"oklch": {
"l": 0.33934,
"c": 0.17136,
"h": 270.2
},
"luminance": 0.03402
}Semantic roles & 50–950 ramp
primary
#1C238E
secondary
#BDB649
accent
#DF3EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980