#1A117C#1A117C
#1A117C is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.166 H 272.9°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1A117C |
|---|---|
| RGB | rgb(26, 17, 124) |
| HSL | hsl(245, 76%, 28%) |
| HSV | hsv(245, 86%, 49%) |
| CMYK | cmyk(79%, 86.3%, 0%, 51.4%) |
| CIE-LAB | lab(15.88, 40.25, -57.27) |
| CIE-LCH | lch(15.88, 70.00, 305.10°) |
| OKLab | oklab(29.27% 0.0084 -0.1656) |
| OKLCH | oklch(29.27% 0.166 272.9) |
| XYZ | xyz(4.2633, 2.0753, 19.2408) |
| Luminance | 0.0208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.95
Navy
#000080
ΔE00 3.00
Dark Royal Blue
#02066F
ΔE00 3.03
Deep Blue
#040273
ΔE00 3.10
Darkblue
#00008B
ΔE00 3.38
Royal
#0C1793
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A117C #737C11
analogous
#113D7C #1A117C #50117C
triadic
#1A117C #7C1A11 #117C1A
tetradic
#1A117C #7C113D #737C11 #117C50
square
#1A117C #7C113D #737C11 #117C50
split-complementary
#1A117C #7C5011 #3D7C11
monochromatic
#06041B #0F0A46 #1A117C #2518B2 #3626E1
Accessibility & contrast
On white
14.84
#1A117C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#1A117C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A117C
14.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A117C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A117C | 1.00 | 14.84 | 1.42 | 14.84 |
| #FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C7F
Deuteranopia (green-blind)
#00227A
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1a117c; /* rgb */ color: rgb(26, 17, 124); /* oklch */ color: oklch(29.3% 0.166 272.9);
Tailwind
colors: {
custom: {
50: '#6a53a3',
500: '#1a117c',
950: '#000000',
},
}SCSS
$custom: #1a117c; $custom-light: #6a53a3; $custom-dark: #000000;
JSON
{
"hex": "#1a117c",
"rgb": {
"r": 26,
"g": 17,
"b": 124
},
"hsl": {
"h": 245.047,
"s": 75.887,
"l": 27.647
},
"oklch": {
"l": 0.2927,
"c": 0.16586,
"h": 272.9
},
"luminance": 0.02076
}Semantic roles & 50–950 ramp
primary
#1A117C
secondary
#A8B237
accent
#F235E3
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#08030F
muted
#7A787F