#1C237F#1C237F
#1C237F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.152 H 271.1°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #1C237F |
|---|---|
| RGB | rgb(28, 35, 127) |
| HSL | hsl(236, 64%, 30%) |
| HSV | hsv(236, 78%, 50%) |
| CMYK | cmyk(78%, 72.4%, 0%, 50.2%) |
| CIE-LAB | lab(19.97, 31.18, -52.41) |
| CIE-LCH | lch(19.97, 60.99, 300.75°) |
| OKLab | oklab(32.29% 0.0028 -0.1517) |
| OKLCH | oklch(32.29% 0.152 271.1) |
| XYZ | xyz(4.9094, 2.9807, 20.3912) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.23
Royal
#0C1793
ΔE00 4.39
Dark Royal Blue
#02066F
ΔE00 6.73
Darkblue
#00008B
ΔE00 7.05
Navy
#000080
ΔE00 7.12
Deep Blue
#040273
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C237F #7F781C
analogous
#1C547F #1C237F #471C7F
triadic
#1C237F #7F1C23 #237F1C
tetradic
#1C237F #7F1C54 #7F781C #1C7F47
square
#1C237F #7F1C54 #7F781C #1C7F47
split-complementary
#1C237F #7F471C #547F1C
monochromatic
#06071B #11154D #1C237F #2731B1 #404BD5
Accessibility & contrast
On white
13.16
#1C237F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1C237F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C237F
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C237F | 1.00 | 13.16 | 1.60 | 13.16 |
| #FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1c237f; /* rgb */ color: rgb(28, 35, 127); /* oklch */ color: oklch(32.3% 0.152 271.1);
Tailwind
colors: {
custom: {
50: '#6a5ea5',
500: '#1c237f',
950: '#000000',
},
}SCSS
$custom: #1c237f; $custom-light: #6a5ea5; $custom-dark: #000000;
JSON
{
"hex": "#1c237f",
"rgb": {
"r": 28,
"g": 35,
"b": 127
},
"hsl": {
"h": 235.758,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.32292,
"c": 0.15173,
"h": 271.1
},
"luminance": 0.02981
}Semantic roles & 50–950 ramp
primary
#1C237F
secondary
#B3AB44
accent
#DB41E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F