#1A2E7C#1A2E7C
#1A2E7C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.135 H 267.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2E7C |
|---|---|
| RGB | rgb(26, 46, 124) |
| HSL | hsl(228, 65%, 29%) |
| HSV | hsv(228, 79%, 49%) |
| CMYK | cmyk(79%, 62.9%, 0%, 51.4%) |
| CIE-LAB | lab(22.40, 22.32, -46.52) |
| CIE-LCH | lch(22.40, 51.60, 295.63°) |
| OKLab | oklab(33.96% -0.0059 -0.1344) |
| OKLCH | oklch(33.96% 0.135 267.5) |
| XYZ | xyz(5.0398, 3.6283, 19.4996) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.85
Midnight Blue
#191970
ΔE00 6.37
Marine Blue
#01386A
ΔE00 7.06
Sapphire (survey)
#2138AB
ΔE00 7.23
Darkslateblue
#483D8B
ΔE00 7.65
Royal
#0C1793
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2E7C #7C681A
analogous
#1A5F7C #1A2E7C #371A7C
triadic
#1A2E7C #7C1A2E #2E7C1A
tetradic
#1A2E7C #7C1A5F #7C681A #1A7C37
square
#1A2E7C #7C1A5F #7C681A #1A7C37
split-complementary
#1A2E7C #7C371A #5F7C1A
monochromatic
#050919 #0F1B49 #1A2E7C #2541AF #3B5AD6
Accessibility & contrast
On white
12.17
#1A2E7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#1A2E7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2E7C
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2E7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2E7C | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1a2e7c; /* rgb */ color: rgb(26, 46, 124); /* oklch */ color: oklch(34.0% 0.135 267.5);
Tailwind
colors: {
custom: {
50: '#6766a3',
500: '#1a2e7c',
950: '#000000',
},
}SCSS
$custom: #1a2e7c; $custom-light: #6766a3; $custom-dark: #000000;
JSON
{
"hex": "#1a2e7c",
"rgb": {
"r": 26,
"g": 46,
"b": 124
},
"hsl": {
"h": 227.755,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.33958,
"c": 0.13456,
"h": 267.5
},
"luminance": 0.03629
}Semantic roles & 50–950 ramp
primary
#1A2E7C
secondary
#B09A42
accent
#C640E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F