#1D219C#1D219C
#1D219C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.190 H 270.0°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).
Color values
| HEX | #1D219C |
|---|---|
| RGB | rgb(29, 33, 156) |
| HSL | hsl(238, 69%, 36%) |
| HSV | hsv(238, 81%, 61%) |
| CMYK | cmyk(81.4%, 78.8%, 0%, 38.8%) |
| CIE-LAB | lab(22.82, 42.74, -65.76) |
| CIE-LCH | lch(22.82, 78.43, 303.02°) |
| OKLab | oklab(35.29% 0 -0.1905) |
| OKLCH | oklch(35.29% 0.19 270) |
| XYZ | xyz(7.0493, 3.7484, 31.7980) |
| Luminance | 0.0375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.59
Cobalt Blue
#030AA7
ΔE00 3.94
Indigo Blue
#3A18B1
ΔE00 4.49
Royal Blue (survey)
#0504AA
ΔE00 4.51
Ultramarine
#2000B1
ΔE00 5.00
Darkblue
#00008B
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D219C #9C981D
analogous
#1D619C #1D219C #591D9C
triadic
#1D219C #9C1D21 #219C1D
tetradic
#1D219C #9C1D61 #9C981D #1D9C59
square
#1D219C #9C1D61 #9C981D #1D9C59
split-complementary
#1D219C #9C591D #619C1D
monochromatic
#0A0B35 #131668 #1D219C #272CD0 #5459DF
Accessibility & contrast
On white
12.00
#1D219C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#1D219C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D219C
12.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D219C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D219C | 1.00 | 12.00 | 1.75 | 12.00 |
| #FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00309A
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1d219c; /* rgb */ color: rgb(29, 33, 156); /* oklch */ color: oklch(35.3% 0.190 270.0);
Tailwind
colors: {
custom: {
50: '#725ebb',
500: '#1d219c',
950: '#000000',
},
}SCSS
$custom: #1d219c; $custom-light: #725ebb; $custom-dark: #000000;
JSON
{
"hex": "#1d219c",
"rgb": {
"r": 29,
"g": 33,
"b": 156
},
"hsl": {
"h": 238.11,
"s": 68.649,
"l": 36.275
},
"oklch": {
"l": 0.35293,
"c": 0.19046,
"h": 270
},
"luminance": 0.03749
}Semantic roles & 50–950 ramp
primary
#1D219C
secondary
#C2BF52
accent
#E63CEB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981