#1A118C#1A118C
#1A118C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.3% C 0.185 H 271.2°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).
Color values
| HEX | #1A118C |
|---|---|
| RGB | rgb(26, 17, 140) |
| HSL | hsl(244, 78%, 31%) |
| HSV | hsv(244, 88%, 55%) |
| CMYK | cmyk(81.4%, 87.9%, 0%, 45.1%) |
| CIE-LAB | lab(17.98, 45.26, -63.90) |
| CIE-LCH | lch(17.98, 78.30, 305.31°) |
| OKLab | oklab(31.31% 0.004 -0.1848) |
| OKLCH | oklch(31.31% 0.185 271.2) |
| XYZ | xyz(5.3585, 2.5134, 25.0086) |
| Luminance | 0.0251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.66
Darkblue
#00008B
ΔE00 2.63
Navy
#000080
ΔE00 3.41
Cobalt Blue
#030AA7
ΔE00 3.60
Royal Blue (survey)
#0504AA
ΔE00 4.05
Indigo (survey)
#380282
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A118C #838C11
analogous
#11458C #1A118C #57118C
triadic
#1A118C #8C1A11 #118C1A
tetradic
#1A118C #8C1145 #838C11 #118C57
square
#1A118C #8C1145 #838C11 #118C57
split-complementary
#1A118C #8C5711 #458C11
monochromatic
#06041F #100A55 #1A118C #2418C3 #3F31E6
Accessibility & contrast
On white
13.97
#1A118C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#1A118C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A118C
13.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A118C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A118C | 1.00 | 13.97 | 1.50 | 13.97 |
| #FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00328F
Deuteranopia (green-blind)
#00268A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1a118c; /* rgb */ color: rgb(26, 17, 140); /* oklch */ color: oklch(31.3% 0.185 271.2);
Tailwind
colors: {
custom: {
50: '#6f55af',
500: '#1a118c',
950: '#000000',
},
}SCSS
$custom: #1a118c; $custom-light: #6f55af; $custom-dark: #000000;
JSON
{
"hex": "#1a118c",
"rgb": {
"r": 26,
"g": 17,
"b": 140
},
"hsl": {
"h": 244.39,
"s": 78.344,
"l": 30.784
},
"oklch": {
"l": 0.31312,
"c": 0.18487,
"h": 271.2
},
"luminance": 0.02514
}Semantic roles & 50–950 ramp
primary
#1A118C
secondary
#B7C138
accent
#F533E7
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880