#1D298C#1D298C
#1D298C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.162 H 269.7°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1D298C |
|---|---|
| RGB | rgb(29, 41, 140) |
| HSL | hsl(234, 66%, 33%) |
| HSV | hsv(234, 79%, 55%) |
| CMYK | cmyk(79.3%, 70.7%, 0%, 45.1%) |
| CIE-LAB | lab(22.79, 32.23, -55.93) |
| CIE-LCH | lch(22.79, 64.55, 299.95°) |
| OKLab | oklab(34.75% -0.0008 -0.1619) |
| OKLCH | oklch(34.75% 0.162 269.7) |
| XYZ | xyz(6.0316, 3.7399, 25.2098) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.61
Midnight Blue
#191970
ΔE00 5.56
Sapphire (survey)
#2138AB
ΔE00 5.73
Cobalt Blue
#030AA7
ΔE00 7.09
Indigo Blue
#3A18B1
ΔE00 7.51
Darkslateblue
#483D8B
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D298C #8C801D
analogous
#1D608C #1D298C #491D8C
triadic
#1D298C #8C1D29 #298C1D
tetradic
#1D298C #8C1D60 #8C801D #1D8C49
square
#1D298C #8C1D60 #8C801D #1D8C49
split-complementary
#1D298C #8C491D #608C1D
monochromatic
#080B27 #121A59 #1D298C #2838BF #4A59D9
Accessibility & contrast
On white
12.01
#1D298C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#1D298C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D298C
12.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D298C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D298C | 1.00 | 12.01 | 1.75 | 12.01 |
| #FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00318A
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1d298c; /* rgb */ color: rgb(29, 41, 140); /* oklch */ color: oklch(34.8% 0.162 269.7);
Tailwind
colors: {
custom: {
50: '#6d63af',
500: '#1d298c',
950: '#000000',
},
}SCSS
$custom: #1d298c; $custom-light: #6d63af; $custom-dark: #000000;
JSON
{
"hex": "#1d298c",
"rgb": {
"r": 29,
"g": 41,
"b": 140
},
"hsl": {
"h": 233.514,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.34752,
"c": 0.16192,
"h": 269.7
},
"luminance": 0.03741
}Semantic roles & 50–950 ramp
primary
#1D298C
secondary
#BCAF49
accent
#D63FE9
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080510
muted
#7B797F