#1A117B#1A117B
#1A117B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.165 H 273.0°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1A117B |
|---|---|
| RGB | rgb(26, 17, 123) |
| HSL | hsl(245, 76%, 27%) |
| HSV | hsv(245, 86%, 48%) |
| CMYK | cmyk(78.9%, 86.2%, 0%, 51.8%) |
| CIE-LAB | lab(15.75, 39.93, -56.85) |
| CIE-LCH | lch(15.75, 69.47, 305.09°) |
| OKLab | oklab(29.14% 0.0087 -0.1644) |
| OKLCH | oklch(29.14% 0.165 273) |
| XYZ | xyz(4.2004, 2.0501, 18.9094) |
| Luminance | 0.0205 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.84
Dark Royal Blue
#02066F
ΔE00 2.94
Navy
#000080
ΔE00 3.04
Deep Blue
#040273
ΔE00 3.05
Darkblue
#00008B
ΔE00 3.48
Royal
#0C1793
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A117B #727B11
analogous
#113D7B #1A117B #4F117B
triadic
#1A117B #7B1A11 #117B1A
tetradic
#1A117B #7B113D #727B11 #117B4F
square
#1A117B #7B113D #727B11 #117B4F
split-complementary
#1A117B #7B4F11 #3D7B11
monochromatic
#06041B #0F0A45 #1A117B #2518B1 #3525E1
Accessibility & contrast
On white
14.89
#1A117B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#1A117B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A117B
14.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A117B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A117B | 1.00 | 14.89 | 1.41 | 14.89 |
| #FFFFFF | 14.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C7E
Deuteranopia (green-blind)
#002279
Tritanopia (blue-blind)
#003348
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #1a117b; /* rgb */ color: rgb(26, 17, 123); /* oklch */ color: oklch(29.1% 0.165 273.0);
Tailwind
colors: {
custom: {
50: '#6a53a2',
500: '#1a117b',
950: '#000000',
},
}SCSS
$custom: #1a117b; $custom-light: #6a53a2; $custom-dark: #000000;
JSON
{
"hex": "#1a117b",
"rgb": {
"r": 26,
"g": 17,
"b": 123
},
"hsl": {
"h": 245.094,
"s": 75.714,
"l": 27.451
},
"oklch": {
"l": 0.29144,
"c": 0.16465,
"h": 273
},
"luminance": 0.02051
}Semantic roles & 50–950 ramp
primary
#1A117B
secondary
#A7B136
accent
#F235E2
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#08030F
muted
#7A787F