#1A2D7B#1A2D7B
#1A2D7B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.134 H 267.8°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2D7B |
|---|---|
| RGB | rgb(26, 45, 123) |
| HSL | hsl(228, 65%, 29%) |
| HSV | hsv(228, 79%, 48%) |
| CMYK | cmyk(78.9%, 63.4%, 0%, 51.8%) |
| CIE-LAB | lab(22.04, 22.62, -46.48) |
| CIE-LCH | lch(22.04, 51.69, 295.95°) |
| OKLab | oklab(33.66% -0.0052 -0.1343) |
| OKLCH | oklch(33.66% 0.134 267.8) |
| XYZ | xyz(4.9383, 3.5259, 19.1554) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.91
Midnight Blue
#191970
ΔE00 6.05
Marine Blue
#01386A
ΔE00 7.27
Sapphire (survey)
#2138AB
ΔE00 7.42
Royal
#0C1793
ΔE00 7.60
Darkslateblue
#483D8B
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2D7B #7B681A
analogous
#1A5E7B #1A2D7B #371A7B
triadic
#1A2D7B #7B1A2D #2D7B1A
tetradic
#1A2D7B #7B1A5E #7B681A #1A7B37
square
#1A2D7B #7B1A5E #7B681A #1A7B37
split-complementary
#1A2D7B #7B371A #5E7B1A
monochromatic
#050919 #0F1B48 #1A2D7B #253FAE #3A58D5
Accessibility & contrast
On white
12.32
#1A2D7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1A2D7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2D7B
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2D7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2D7B | 1.00 | 12.32 | 1.71 | 12.32 |
| #FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1a2d7b; /* rgb */ color: rgb(26, 45, 123); /* oklch */ color: oklch(33.7% 0.134 267.8);
Tailwind
colors: {
custom: {
50: '#6765a2',
500: '#1a2d7b',
950: '#000000',
},
}SCSS
$custom: #1a2d7b; $custom-light: #6765a2; $custom-dark: #000000;
JSON
{
"hex": "#1a2d7b",
"rgb": {
"r": 26,
"g": 45,
"b": 123
},
"hsl": {
"h": 228.247,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.3366,
"c": 0.13443,
"h": 267.8
},
"luminance": 0.03526
}Semantic roles & 50–950 ramp
primary
#1A2D7B
secondary
#AF9A42
accent
#C740E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F