#1A318F#1A318F
#1A318F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.157 H 267.0°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1A318F |
|---|---|
| RGB | rgb(26, 49, 143) |
| HSL | hsl(228, 69%, 33%) |
| HSV | hsv(228, 82%, 56%) |
| CMYK | cmyk(81.8%, 65.7%, 0%, 43.9%) |
| CIE-LAB | lab(24.95, 27.77, -54.25) |
| CIE-LCH | lch(24.95, 60.95, 297.10°) |
| OKLab | oklab(36.38% -0.0081 -0.157) |
| OKLCH | oklch(36.38% 0.157 267) |
| XYZ | xyz(6.4805, 4.3986, 26.4887) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.35
Blueberry
#464196
ΔE00 6.71
Royal
#0C1793
ΔE00 6.94
Darkslateblue
#483D8B
ΔE00 7.04
Midnight Blue
#191970
ΔE00 7.67
Darkish Blue
#014182
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A318F #8F781A
analogous
#1A6B8F #1A318F #3D1A8F
triadic
#1A318F #8F1A31 #318F1A
tetradic
#1A318F #8F1A6B #8F781A #1A8F3D
square
#1A318F #8F1A6B #8F781A #1A8F3D
split-complementary
#1A318F #8F3D1A #6B8F1A
monochromatic
#070E27 #111F5B #1A318F #2343C3 #4664DD
Accessibility & contrast
On white
11.17
#1A318F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#1A318F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A318F
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A318F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A318F | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1a318f; /* rgb */ color: rgb(26, 49, 143); /* oklch */ color: oklch(36.4% 0.157 267.0);
Tailwind
colors: {
custom: {
50: '#6c69b1',
500: '#1a318f',
950: '#000000',
},
}SCSS
$custom: #1a318f; $custom-light: #6c69b1; $custom-dark: #000000;
JSON
{
"hex": "#1a318f",
"rgb": {
"r": 26,
"g": 49,
"b": 143
},
"hsl": {
"h": 228.205,
"s": 69.231,
"l": 33.137
},
"oklch": {
"l": 0.36378,
"c": 0.15726,
"h": 267
},
"luminance": 0.04399
}Semantic roles & 50–950 ramp
primary
#1A318F
secondary
#BFA746
accent
#C93CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80