#1A1F9D#1A1F9D
#1A1F9D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.194 H 269.2°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1F9D |
|---|---|
| RGB | rgb(26, 31, 157) |
| HSL | hsl(238, 72%, 36%) |
| HSV | hsv(238, 83%, 62%) |
| CMYK | cmyk(83.4%, 80.3%, 0%, 38.4%) |
| CIE-LAB | lab(22.42, 43.98, -67.04) |
| CIE-LCH | lch(22.42, 80.18, 303.27°) |
| OKLab | oklab(35% -0.0027 -0.1942) |
| OKLCH | oklch(35% 0.194 269.2) |
| XYZ | xyz(6.9997, 3.6331, 32.2241) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.28
Cobalt Blue
#030AA7
ΔE00 3.47
Royal Blue (survey)
#0504AA
ΔE00 4.05
Indigo Blue
#3A18B1
ΔE00 4.38
Ultramarine
#2000B1
ΔE00 4.61
Darkblue
#00008B
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1F9D #9D981A
analogous
#1A609D #1A1F9D #561A9D
triadic
#1A1F9D #9D1A1F #1F9D1A
tetradic
#1A1F9D #9D1A60 #9D981A #1A9D56
square
#1A1F9D #9D1A60 #9D981A #1A9D56
split-complementary
#1A1F9D #9D561A #609D1A
monochromatic
#090A34 #111568 #1A1F9D #2329D2 #4F55E2
Accessibility & contrast
On white
12.16
#1A1F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#1A1F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1F9D
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1F9D | 1.00 | 12.16 | 1.73 | 12.16 |
| #FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA1
Deuteranopia (green-blind)
#002F9B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1a1f9d; /* rgb */ color: rgb(26, 31, 157); /* oklch */ color: oklch(35.0% 0.194 269.2);
Tailwind
colors: {
custom: {
50: '#725dbb',
500: '#1a1f9d',
950: '#000000',
},
}SCSS
$custom: #1a1f9d; $custom-light: #725dbb; $custom-dark: #000000;
JSON
{
"hex": "#1a1f9d",
"rgb": {
"r": 26,
"g": 31,
"b": 157
},
"hsl": {
"h": 237.71,
"s": 71.585,
"l": 35.882
},
"oklch": {
"l": 0.35005,
"c": 0.19422,
"h": 269.2
},
"luminance": 0.03634
}Semantic roles & 50–950 ramp
primary
#1A1F9D
secondary
#C4C04E
accent
#E739EE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981