#1C297D#1C297D
#1C297D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.142 H 269.8°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1C297D |
|---|---|
| RGB | rgb(28, 41, 125) |
| HSL | hsl(232, 63%, 30%) |
| HSV | hsv(232, 78%, 49%) |
| CMYK | cmyk(77.6%, 67.2%, 0%, 51%) |
| CIE-LAB | lab(21.26, 26.41, -49.03) |
| CIE-LCH | lch(21.26, 55.69, 298.31°) |
| OKLab | oklab(33.17% -0.0006 -0.1418) |
| OKLCH | oklch(33.17% 0.142 269.8) |
| XYZ | xyz(4.9722, 3.3129, 19.7755) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.67
Royal
#0C1793
ΔE00 6.13
Marine
#042E60
ΔE00 7.21
Sapphire (survey)
#2138AB
ΔE00 7.48
Darkslateblue
#483D8B
ΔE00 7.88
Blueberry
#464196
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C297D #7D701C
analogous
#1C597D #1C297D #401C7D
triadic
#1C297D #7D1C29 #297D1C
tetradic
#1C297D #7D1C59 #7D701C #1C7D40
square
#1C297D #7D1C59 #7D701C #1C7D40
split-complementary
#1C297D #7D401C #597D1C
monochromatic
#060819 #11194B #1C297D #2739AF #3F53D4
Accessibility & contrast
On white
12.63
#1C297D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1C297D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C297D
12.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C297D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C297D | 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)
#003880
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1c297d; /* rgb */ color: rgb(28, 41, 125); /* oklch */ color: oklch(33.2% 0.142 269.8);
Tailwind
colors: {
custom: {
50: '#6962a3',
500: '#1c297d',
950: '#000000',
},
}SCSS
$custom: #1c297d; $custom-light: #6962a3; $custom-dark: #000000;
JSON
{
"hex": "#1c297d",
"rgb": {
"r": 28,
"g": 41,
"b": 125
},
"hsl": {
"h": 231.959,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.33168,
"c": 0.14179,
"h": 269.8
},
"luminance": 0.03313
}Semantic roles & 50–950 ramp
primary
#1C297D
secondary
#B1A244
accent
#D041E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F