#1C238F#1C238F
#1C238F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.173 H 270.2°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1C238F |
|---|---|
| RGB | rgb(28, 35, 143) |
| HSL | hsl(236, 67%, 34%) |
| HSV | hsv(236, 80%, 56%) |
| CMYK | cmyk(80.4%, 75.5%, 0%, 43.9%) |
| CIE-LAB | lab(21.69, 37.01, -59.60) |
| CIE-LCH | lch(21.69, 70.16, 301.84°) |
| OKLab | oklab(34.05% 0.0005 -0.1726) |
| OKLCH | oklch(34.05% 0.173 270.2) |
| XYZ | xyz(6.0362, 3.4314, 26.3255) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.84
Midnight Blue
#191970
ΔE00 5.07
Cobalt Blue
#030AA7
ΔE00 5.39
Royal Blue (survey)
#0504AA
ΔE00 6.00
Indigo Blue
#3A18B1
ΔE00 6.31
Darkblue
#00008B
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C238F #8F881C
analogous
#1C5C8F #1C238F #4E1C8F
triadic
#1C238F #8F1C23 #238F1C
tetradic
#1C238F #8F1C5C #8F881C #1C8F4E
square
#1C238F #8F1C5C #8F881C #1C8F4E
split-complementary
#1C238F #8F4E1C #5C8F1C
monochromatic
#080A29 #12165C #1C238F #2630C2 #4A53DC
Accessibility & contrast
On white
12.45
#1C238F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1C238F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C238F
12.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C238F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C238F | 1.00 | 12.45 | 1.69 | 12.45 |
| #FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#002E8D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1c238f; /* rgb */ color: rgb(28, 35, 143); /* oklch */ color: oklch(34.0% 0.173 270.2);
Tailwind
colors: {
custom: {
50: '#6e5fb1',
500: '#1c238f',
950: '#000000',
},
}SCSS
$custom: #1c238f; $custom-light: #6e5fb1; $custom-dark: #000000;
JSON
{
"hex": "#1c238f",
"rgb": {
"r": 28,
"g": 35,
"b": 143
},
"hsl": {
"h": 236.348,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.34046,
"c": 0.17263,
"h": 270.2
},
"luminance": 0.03432
}Semantic roles & 50–950 ramp
primary
#1C238F
secondary
#BEB749
accent
#E03EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980