#1A318E#1A318E
#1A318E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.156 H 267.0°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #1A318E |
|---|---|
| RGB | rgb(26, 49, 142) |
| HSL | hsl(228, 69%, 33%) |
| HSV | hsv(228, 82%, 56%) |
| CMYK | cmyk(81.7%, 65.5%, 0%, 44.3%) |
| CIE-LAB | lab(24.85, 27.37, -53.79) |
| CIE-LCH | lch(24.85, 60.35, 296.97°) |
| OKLab | oklab(36.28% -0.0081 -0.1557) |
| OKLCH | oklch(36.28% 0.156 267) |
| XYZ | xyz(6.4051, 4.3685, 26.0916) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.48
Blueberry
#464196
ΔE00 6.74
Royal
#0C1793
ΔE00 7.01
Darkslateblue
#483D8B
ΔE00 7.04
Midnight Blue
#191970
ΔE00 7.62
Darkish Blue
#014182
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A318E #8E771A
analogous
#1A6B8E #1A318E #3D1A8E
triadic
#1A318E #8E1A31 #318E1A
tetradic
#1A318E #8E1A6B #8E771A #1A8E3D
square
#1A318E #8E1A6B #8E771A #1A8E3D
split-complementary
#1A318E #8E3D1A #6B8E1A
monochromatic
#070D27 #111F5A #1A318E #2343C2 #4563DD
Accessibility & contrast
On white
11.21
#1A318E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#1A318E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A318E
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A318E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A318E | 1.00 | 11.21 | 1.87 | 11.21 |
| #FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1a318e; /* rgb */ color: rgb(26, 49, 142); /* oklch */ color: oklch(36.3% 0.156 267.0);
Tailwind
colors: {
custom: {
50: '#6c69b0',
500: '#1a318e',
950: '#000000',
},
}SCSS
$custom: #1a318e; $custom-light: #6c69b0; $custom-dark: #000000;
JSON
{
"hex": "#1a318e",
"rgb": {
"r": 26,
"g": 49,
"b": 142
},
"hsl": {
"h": 228.103,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.36281,
"c": 0.15589,
"h": 267
},
"luminance": 0.04369
}Semantic roles & 50–950 ramp
primary
#1A318E
secondary
#BEA645
accent
#C93CEC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80