#1A2D7C#1A2D7C
#1A2D7C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.136 H 267.8°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2D7C |
|---|---|
| RGB | rgb(26, 45, 124) |
| HSL | hsl(228, 65%, 29%) |
| HSV | hsv(228, 79%, 49%) |
| CMYK | cmyk(79%, 63.7%, 0%, 51.4%) |
| CIE-LAB | lab(22.13, 23.02, -46.97) |
| CIE-LCH | lch(22.13, 52.31, 296.11°) |
| OKLab | oklab(33.76% -0.0052 -0.1358) |
| OKLCH | oklch(33.76% 0.136 267.8) |
| XYZ | xyz(5.0012, 3.5511, 19.4867) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.03
Marine
#042E60
ΔE00 6.05
Sapphire (survey)
#2138AB
ΔE00 7.28
Marine Blue
#01386A
ΔE00 7.36
Royal
#0C1793
ΔE00 7.47
Darkslateblue
#483D8B
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2D7C #7C691A
analogous
#1A5E7C #1A2D7C #381A7C
triadic
#1A2D7C #7C1A2D #2D7C1A
tetradic
#1A2D7C #7C1A5E #7C691A #1A7C38
square
#1A2D7C #7C1A5E #7C691A #1A7C38
split-complementary
#1A2D7C #7C381A #5E7C1A
monochromatic
#050919 #0F1B49 #1A2D7C #253FAF #3B59D6
Accessibility & contrast
On white
12.28
#1A2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1A2D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2D7C
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2D7C | 1.00 | 12.28 | 1.71 | 12.28 |
| #FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1a2d7c; /* rgb */ color: rgb(26, 45, 124); /* oklch */ color: oklch(33.8% 0.136 267.8);
Tailwind
colors: {
custom: {
50: '#6765a3',
500: '#1a2d7c',
950: '#000000',
},
}SCSS
$custom: #1a2d7c; $custom-light: #6765a3; $custom-dark: #000000;
JSON
{
"hex": "#1a2d7c",
"rgb": {
"r": 26,
"g": 45,
"b": 124
},
"hsl": {
"h": 228.367,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.33755,
"c": 0.13586,
"h": 267.8
},
"luminance": 0.03552
}Semantic roles & 50–950 ramp
primary
#1A2D7C
secondary
#B09B42
accent
#C840E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F