#1C258C#1C258C
#1C258C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.167 H 270.0°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1C258C |
|---|---|
| RGB | rgb(28, 37, 140) |
| HSL | hsl(235, 67%, 33%) |
| HSV | hsv(235, 80%, 55%) |
| CMYK | cmyk(80%, 73.6%, 0%, 45.1%) |
| CIE-LAB | lab(21.81, 34.69, -57.55) |
| CIE-LCH | lch(21.81, 67.20, 301.08°) |
| OKLab | oklab(34.03% 0.0001 -0.1667) |
| OKLCH | oklch(34.03% 0.167 270) |
| XYZ | xyz(5.8725, 3.4628, 25.1647) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.53
Midnight Blue
#191970
ΔE00 4.92
Cobalt Blue
#030AA7
ΔE00 6.14
Sapphire (survey)
#2138AB
ΔE00 6.46
Royal Blue (survey)
#0504AA
ΔE00 6.76
Darkblue
#00008B
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C258C #8C831C
analogous
#1C5D8C #1C258C #4B1C8C
triadic
#1C258C #8C1C25 #258C1C
tetradic
#1C258C #8C1C5D #8C831C #1C8C4B
square
#1C258C #8C1C5D #8C831C #1C8C4B
split-complementary
#1C258C #8C4B1C #5D8C1C
monochromatic
#080A26 #121859 #1C258C #2632BF #4854DA
Accessibility & contrast
On white
12.41
#1C258C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1C258C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C258C
12.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C258C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C258C | 1.00 | 12.41 | 1.69 | 12.41 |
| #FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#002F8A
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1c258c; /* rgb */ color: rgb(28, 37, 140); /* oklch */ color: oklch(34.0% 0.167 270.0);
Tailwind
colors: {
custom: {
50: '#6d60af',
500: '#1c258c',
950: '#000000',
},
}SCSS
$custom: #1c258c; $custom-light: #6d60af; $custom-dark: #000000;
JSON
{
"hex": "#1c258c",
"rgb": {
"r": 28,
"g": 37,
"b": 140
},
"hsl": {
"h": 235.179,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.3403,
"c": 0.16666,
"h": 270
},
"luminance": 0.03463
}Semantic roles & 50–950 ramp
primary
#1C258C
secondary
#BCB348
accent
#DC3EEA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080510
muted
#7B797F