#1C298F#1C298F
#1C298F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.166 H 269.3°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1C298F |
|---|---|
| RGB | rgb(28, 41, 143) |
| HSL | hsl(233, 67%, 34%) |
| HSV | hsv(233, 80%, 56%) |
| CMYK | cmyk(80.4%, 71.3%, 0%, 43.9%) |
| CIE-LAB | lab(23.05, 33.25, -57.37) |
| CIE-LCH | lch(23.05, 66.31, 300.10°) |
| OKLab | oklab(35.02% -0.0021 -0.1661) |
| OKLCH | oklch(35.02% 0.166 269.3) |
| XYZ | xyz(6.2280, 3.8152, 26.3894) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.45
Sapphire (survey)
#2138AB
ΔE00 5.44
Midnight Blue
#191970
ΔE00 5.86
Cobalt Blue
#030AA7
ΔE00 6.80
Indigo Blue
#3A18B1
ΔE00 7.17
Royal Blue (survey)
#0504AA
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C298F #8F821C
analogous
#1C628F #1C298F #481C8F
triadic
#1C298F #8F1C29 #298F1C
tetradic
#1C298F #8F1C62 #8F821C #1C8F48
square
#1C298F #8F1C62 #8F821C #1C8F48
split-complementary
#1C298F #8F481C #628F1C
monochromatic
#080C29 #121A5C #1C298F #2638C2 #4A5ADC
Accessibility & contrast
On white
11.91
#1C298F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1C298F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C298F
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C298F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C298F | 1.00 | 11.91 | 1.76 | 11.91 |
| #FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1c298f; /* rgb */ color: rgb(28, 41, 143); /* oklch */ color: oklch(35.0% 0.166 269.3);
Tailwind
colors: {
custom: {
50: '#6e63b1',
500: '#1c298f',
950: '#000000',
},
}SCSS
$custom: #1c298f; $custom-light: #6e63b1; $custom-dark: #000000;
JSON
{
"hex": "#1c298f",
"rgb": {
"r": 28,
"g": 41,
"b": 143
},
"hsl": {
"h": 233.217,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.35019,
"c": 0.16615,
"h": 269.3
},
"luminance": 0.03816
}Semantic roles & 50–950 ramp
primary
#1C298F
secondary
#BEB049
accent
#D73EEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980