#1A138F#1A138F
#1A138F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.187 H 270.9°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1A138F |
|---|---|
| RGB | rgb(26, 19, 143) |
| HSL | hsl(243, 77%, 32%) |
| HSV | hsv(243, 87%, 56%) |
| CMYK | cmyk(81.8%, 86.7%, 0%, 43.9%) |
| CIE-LAB | lab(18.66, 45.33, -64.64) |
| CIE-LCH | lch(18.66, 78.95, 305.04°) |
| OKLab | oklab(31.89% 0.0029 -0.187) |
| OKLCH | oklch(31.89% 0.187 270.9) |
| XYZ | xyz(5.6151, 2.6679, 26.2003) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.22
Darkblue
#00008B
ΔE00 3.01
Cobalt Blue
#030AA7
ΔE00 3.27
Royal Blue (survey)
#0504AA
ΔE00 3.76
Navy
#000080
ΔE00 3.90
Indigo (survey)
#380282
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A138F #888F13
analogous
#134A8F #1A138F #58138F
triadic
#1A138F #8F1A13 #138F1A
tetradic
#1A138F #8F134A #888F13 #138F58
square
#1A138F #8F134A #888F13 #138F58
split-complementary
#1A138F #8F5813 #4A8F13
monochromatic
#060523 #100C59 #1A138F #241AC5 #4238E5
Accessibility & contrast
On white
13.69
#1A138F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1A138F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A138F
13.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A138F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A138F | 1.00 | 13.69 | 1.53 | 13.69 |
| #FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003392
Deuteranopia (green-blind)
#00278D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1a138f; /* rgb */ color: rgb(26, 19, 143); /* oklch */ color: oklch(31.9% 0.187 270.9);
Tailwind
colors: {
custom: {
50: '#6f56b1',
500: '#1a138f',
950: '#000000',
},
}SCSS
$custom: #1a138f; $custom-light: #6f56b1; $custom-dark: #000000;
JSON
{
"hex": "#1a138f",
"rgb": {
"r": 26,
"g": 19,
"b": 143
},
"hsl": {
"h": 243.387,
"s": 76.543,
"l": 31.765
},
"oklch": {
"l": 0.31892,
"c": 0.18703,
"h": 270.9
},
"luminance": 0.02669
}Semantic roles & 50–950 ramp
primary
#1A138F
secondary
#BBC33B
accent
#F335E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880