#1A2D97#1A2D97
#1A2D97 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.173 H 267.8°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2D97 |
|---|---|
| RGB | rgb(26, 45, 151) |
| HSL | hsl(231, 71%, 35%) |
| HSV | hsv(231, 83%, 59%) |
| CMYK | cmyk(82.8%, 70.2%, 0%, 40.8%) |
| CIE-LAB | lab(24.73, 33.49, -59.54) |
| CIE-LCH | lch(24.73, 68.31, 299.36°) |
| OKLab | oklab(36.46% -0.0066 -0.1725) |
| OKLCH | oklch(36.46% 0.173 267.8) |
| XYZ | xyz(6.9484, 4.3299, 29.7417) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.96
Royal
#0C1793
ΔE00 5.39
Indigo Blue
#3A18B1
ΔE00 7.10
Blueberry
#464196
ΔE00 7.21
Cobalt Blue
#030AA7
ΔE00 7.25
Midnight Blue
#191970
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2D97 #97841A
analogous
#1A6C97 #1A2D97 #461A97
triadic
#1A2D97 #971A2D #2D971A
tetradic
#1A2D97 #971A6C #97841A #1A9746
square
#1A2D97 #971A6C #97841A #1A9746
split-complementary
#1A2D97 #97461A #6C971A
monochromatic
#080E2F #111D63 #1A2D97 #233DCB #4B62E0
Accessibility & contrast
On white
11.25
#1A2D97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#1A2D97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2D97
11.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2D97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2D97 | 1.00 | 11.25 | 1.87 | 11.25 |
| #FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1a2d97; /* rgb */ color: rgb(26, 45, 151); /* oklch */ color: oklch(36.5% 0.173 267.8);
Tailwind
colors: {
custom: {
50: '#6f66b7',
500: '#1a2d97',
950: '#000000',
},
}SCSS
$custom: #1a2d97; $custom-light: #6f66b7; $custom-dark: #000000;
JSON
{
"hex": "#1a2d97",
"rgb": {
"r": 26,
"g": 45,
"b": 151
},
"hsl": {
"h": 230.88,
"s": 70.621,
"l": 34.706
},
"oklch": {
"l": 0.3646,
"c": 0.17263,
"h": 267.8
},
"luminance": 0.04331
}Semantic roles & 50–950 ramp
primary
#1A2D97
secondary
#C2B04B
accent
#D23AED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80