#1A2C97#1A2C97
#1A2C97 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.174 H 268.0°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2C97 |
|---|---|
| RGB | rgb(26, 44, 151) |
| HSL | hsl(231, 71%, 35%) |
| HSV | hsv(231, 83%, 59%) |
| CMYK | cmyk(82.8%, 70.9%, 0%, 40.8%) |
| CIE-LAB | lab(24.50, 34.14, -59.93) |
| CIE-LCH | lch(24.50, 68.97, 299.67°) |
| OKLab | oklab(36.29% -0.0061 -0.1736) |
| OKLCH | oklch(36.29% 0.174 268) |
| XYZ | xyz(6.9107, 4.2545, 29.7291) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.15
Royal
#0C1793
ΔE00 5.10
Indigo Blue
#3A18B1
ΔE00 6.89
Cobalt Blue
#030AA7
ΔE00 6.97
Midnight Blue
#191970
ΔE00 7.19
Blueberry
#464196
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2C97 #97851A
analogous
#1A6B97 #1A2C97 #471A97
triadic
#1A2C97 #971A2C #2C971A
tetradic
#1A2C97 #971A6B #97851A #1A9747
square
#1A2C97 #971A6B #97851A #1A9747
split-complementary
#1A2C97 #97471A #6B971A
monochromatic
#080E2F #111D63 #1A2C97 #233BCB #4B61E0
Accessibility & contrast
On white
11.35
#1A2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#1A2C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2C97
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2C97 | 1.00 | 11.35 | 1.85 | 11.35 |
| #FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1a2c97; /* rgb */ color: rgb(26, 44, 151); /* oklch */ color: oklch(36.3% 0.174 268.0);
Tailwind
colors: {
custom: {
50: '#6f65b7',
500: '#1a2c97',
950: '#000000',
},
}SCSS
$custom: #1a2c97; $custom-light: #6f65b7; $custom-dark: #000000;
JSON
{
"hex": "#1a2c97",
"rgb": {
"r": 26,
"g": 44,
"b": 151
},
"hsl": {
"h": 231.36,
"s": 70.621,
"l": 34.706
},
"oklch": {
"l": 0.36287,
"c": 0.17375,
"h": 268
},
"luminance": 0.04255
}Semantic roles & 50–950 ramp
primary
#1A2C97
secondary
#C2B14B
accent
#D43AED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80