#1A117F#1A117F
#1A117F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.169 H 272.6°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1A117F |
|---|---|
| RGB | rgb(26, 17, 127) |
| HSL | hsl(245, 76%, 28%) |
| HSV | hsv(245, 87%, 50%) |
| CMYK | cmyk(79.5%, 86.6%, 0%, 50.2%) |
| CIE-LAB | lab(16.27, 41.21, -58.54) |
| CIE-LCH | lch(16.27, 71.59, 305.14°) |
| OKLab | oklab(29.65% 0.0076 -0.1693) |
| OKLCH | oklch(29.65% 0.169 272.6) |
| XYZ | xyz(4.4559, 2.1523, 20.2552) |
| Luminance | 0.0215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.92
Darkblue
#00008B
ΔE00 3.10
Royal
#0C1793
ΔE00 3.12
Midnight Blue
#191970
ΔE00 3.29
Deep Blue
#040273
ΔE00 3.30
Dark Royal Blue
#02066F
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A117F #767F11
analogous
#113F7F #1A117F #51117F
triadic
#1A117F #7F1A11 #117F1A
tetradic
#1A117F #7F113F #767F11 #117F51
square
#1A117F #7F113F #767F11 #117F51
split-complementary
#1A117F #7F5111 #3F7F11
monochromatic
#06041B #0F0A49 #1A117F #2518B5 #3728E2
Accessibility & contrast
On white
14.68
#1A117F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1A117F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A117F
14.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A117F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A117F | 1.00 | 14.68 | 1.43 | 14.68 |
| #FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1a117f; /* rgb */ color: rgb(26, 17, 127); /* oklch */ color: oklch(29.6% 0.169 272.6);
Tailwind
colors: {
custom: {
50: '#6b53a5',
500: '#1a117f',
950: '#000000',
},
}SCSS
$custom: #1a117f; $custom-light: #6b53a5; $custom-dark: #000000;
JSON
{
"hex": "#1a117f",
"rgb": {
"r": 26,
"g": 17,
"b": 127
},
"hsl": {
"h": 244.909,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.2965,
"c": 0.16949,
"h": 272.6
},
"luminance": 0.02153
}Semantic roles & 50–950 ramp
primary
#1A117F
secondary
#ABB537
accent
#F335E3
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F