#1C238B#1C238B
#1C238B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.168 H 270.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1C238B |
|---|---|
| RGB | rgb(28, 35, 139) |
| HSL | hsl(236, 66%, 33%) |
| HSV | hsv(236, 80%, 55%) |
| CMYK | cmyk(79.9%, 74.8%, 0%, 45.5%) |
| CIE-LAB | lab(21.25, 35.57, -57.84) |
| CIE-LCH | lch(21.25, 67.90, 301.59°) |
| OKLab | oklab(33.6% 0.0012 -0.1675) |
| OKLCH | oklch(33.6% 0.168 270.4) |
| XYZ | xyz(5.7385, 3.3124, 24.7580) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.09
Midnight Blue
#191970
ΔE00 4.56
Cobalt Blue
#030AA7
ΔE00 5.82
Darkblue
#00008B
ΔE00 6.43
Royal Blue (survey)
#0504AA
ΔE00 6.44
Indigo Blue
#3A18B1
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C238B #8B841C
analogous
#1C5B8B #1C238B #4C1C8B
triadic
#1C238B #8B1C23 #238B1C
tetradic
#1C238B #8B1C5B #8B841C #1C8B4C
square
#1C238B #8B1C5B #8B841C #1C8B4C
split-complementary
#1C238B #8B4C1C #5B8B1C
monochromatic
#070925 #121658 #1C238B #2630BE #4751DA
Accessibility & contrast
On white
12.63
#1C238B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1C238B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C238B
12.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C238B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C238B | 1.00 | 12.63 | 1.66 | 12.63 |
| #FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388E
Deuteranopia (green-blind)
#002E89
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1c238b; /* rgb */ color: rgb(28, 35, 139); /* oklch */ color: oklch(33.6% 0.168 270.4);
Tailwind
colors: {
custom: {
50: '#6d5fae',
500: '#1c238b',
950: '#000000',
},
}SCSS
$custom: #1c238b; $custom-light: #6d5fae; $custom-dark: #000000;
JSON
{
"hex": "#1c238b",
"rgb": {
"r": 28,
"g": 35,
"b": 139
},
"hsl": {
"h": 236.216,
"s": 66.467,
"l": 32.745
},
"oklch": {
"l": 0.336,
"c": 0.16751,
"h": 270.4
},
"luminance": 0.03313
}Semantic roles & 50–950 ramp
primary
#1C238B
secondary
#BCB447
accent
#DF3EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F