#1C238C#1C238C
#1C238C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.169 H 270.3°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1C238C |
|---|---|
| RGB | rgb(28, 35, 140) |
| HSL | hsl(236, 67%, 33%) |
| HSV | hsv(236, 80%, 55%) |
| CMYK | cmyk(80%, 75%, 0%, 45.1%) |
| CIE-LAB | lab(21.36, 35.93, -58.28) |
| CIE-LCH | lch(21.36, 68.47, 301.66°) |
| OKLab | oklab(33.71% 0.001 -0.1688) |
| OKLCH | oklch(33.71% 0.169 270.3) |
| XYZ | xyz(5.8119, 3.3417, 25.1446) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.02
Midnight Blue
#191970
ΔE00 4.68
Cobalt Blue
#030AA7
ΔE00 5.71
Royal Blue (survey)
#0504AA
ΔE00 6.32
Darkblue
#00008B
ΔE00 6.41
Indigo Blue
#3A18B1
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C238C #8C851C
analogous
#1C5B8C #1C238C #4D1C8C
triadic
#1C238C #8C1C23 #238C1C
tetradic
#1C238C #8C1C5B #8C851C #1C8C4D
square
#1C238C #8C1C5B #8C851C #1C8C4D
split-complementary
#1C238C #8C4D1C #5B8C1C
monochromatic
#080926 #121659 #1C238C #2630BF #4851DA
Accessibility & contrast
On white
12.59
#1C238C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#1C238C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C238C
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C238C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C238C | 1.00 | 12.59 | 1.67 | 12.59 |
| #FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#002E8A
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1c238c; /* rgb */ color: rgb(28, 35, 140); /* oklch */ color: oklch(33.7% 0.169 270.3);
Tailwind
colors: {
custom: {
50: '#6d5faf',
500: '#1c238c',
950: '#000000',
},
}SCSS
$custom: #1c238c; $custom-light: #6d5faf; $custom-dark: #000000;
JSON
{
"hex": "#1c238c",
"rgb": {
"r": 28,
"g": 35,
"b": 140
},
"hsl": {
"h": 236.25,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.33711,
"c": 0.1688,
"h": 270.3
},
"luminance": 0.03342
}Semantic roles & 50–950 ramp
primary
#1C238C
secondary
#BCB548
accent
#DF3EEA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F