#1A138E#1A138E
#1A138E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.8% C 0.186 H 271.0°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1A138E |
|---|---|
| RGB | rgb(26, 19, 142) |
| HSL | hsl(243, 76%, 32%) |
| HSV | hsv(243, 87%, 56%) |
| CMYK | cmyk(81.7%, 86.6%, 0%, 44.3%) |
| CIE-LAB | lab(18.53, 45.02, -64.23) |
| CIE-LCH | lch(18.53, 78.44, 305.03°) |
| OKLab | oklab(31.77% 0.0031 -0.1858) |
| OKLCH | oklch(31.77% 0.186 271) |
| XYZ | xyz(5.5397, 2.6377, 25.8031) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.28
Darkblue
#00008B
ΔE00 2.98
Cobalt Blue
#030AA7
ΔE00 3.40
Navy
#000080
ΔE00 3.82
Royal Blue (survey)
#0504AA
ΔE00 3.89
Indigo (survey)
#380282
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A138E #878E13
analogous
#134A8E #1A138E #58138E
triadic
#1A138E #8E1A13 #138E1A
tetradic
#1A138E #8E134A #878E13 #138E58
square
#1A138E #8E134A #878E13 #138E58
split-complementary
#1A138E #8E5813 #4A8E13
monochromatic
#060522 #100C58 #1A138E #241AC4 #4137E4
Accessibility & contrast
On white
13.75
#1A138E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1A138E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A138E
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A138E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A138E | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003391
Deuteranopia (green-blind)
#00278C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1a138e; /* rgb */ color: rgb(26, 19, 142); /* oklch */ color: oklch(31.8% 0.186 271.0);
Tailwind
colors: {
custom: {
50: '#6f56b0',
500: '#1a138e',
950: '#000000',
},
}SCSS
$custom: #1a138e; $custom-light: #6f56b0; $custom-dark: #000000;
JSON
{
"hex": "#1a138e",
"rgb": {
"r": 26,
"g": 19,
"b": 142
},
"hsl": {
"h": 243.415,
"s": 76.398,
"l": 31.569
},
"oklch": {
"l": 0.31765,
"c": 0.18586,
"h": 271
},
"luminance": 0.02638
}Semantic roles & 50–950 ramp
primary
#1A138E
secondary
#BAC23B
accent
#F335E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880