#1A0F7D#1A0F7D
#1A0F7D is a dark, vivid blue. Relative luminance 0.020; OKLCH L 29.2% C 0.169 H 272.9°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1A0F7D |
|---|---|
| RGB | rgb(26, 15, 125) |
| HSL | hsl(246, 79%, 27%) |
| HSV | hsv(246, 88%, 49%) |
| CMYK | cmyk(79.2%, 88%, 0%, 51%) |
| CIE-LAB | lab(15.70, 41.47, -58.20) |
| CIE-LCH | lch(15.70, 71.46, 305.47°) |
| OKLab | oklab(29.19% 0.0086 -0.1683) |
| OKLCH | oklch(29.19% 0.169 272.9) |
| XYZ | xyz(4.2973, 2.0415, 19.5656) |
| Luminance | 0.0204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.65
Deep Blue
#040273
ΔE00 2.89
Dark Royal Blue
#02066F
ΔE00 2.95
Darkblue
#00008B
ΔE00 3.02
Midnight Blue
#191970
ΔE00 3.34
Royal
#0C1793
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A0F7D #727D0F
analogous
#0F3B7D #1A0F7D #510F7D
triadic
#1A0F7D #7D1A0F #0F7D1A
tetradic
#1A0F7D #7D0F3B #727D0F #0F7D51
square
#1A0F7D #7D0F3B #727D0F #0F7D51
split-complementary
#1A0F7D #7D510F #3B7D0F
monochromatic
#06031B #0F0846 #1A0F7D #2516B4 #3522E4
Accessibility & contrast
On white
14.91
#1A0F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#1A0F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A0F7D
14.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A0F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A0F7D | 1.00 | 14.91 | 1.41 | 14.91 |
| #FFFFFF | 14.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C80
Deuteranopia (green-blind)
#00227B
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #1a0f7d; /* rgb */ color: rgb(26, 15, 125); /* oklch */ color: oklch(29.2% 0.169 272.9);
Tailwind
colors: {
custom: {
50: '#6b52a4',
500: '#1a0f7d',
950: '#000000',
},
}SCSS
$custom: #1a0f7d; $custom-light: #6b52a4; $custom-dark: #000000;
JSON
{
"hex": "#1a0f7d",
"rgb": {
"r": 26,
"g": 15,
"b": 125
},
"hsl": {
"h": 246,
"s": 78.571,
"l": 27.451
},
"oklch": {
"l": 0.29188,
"c": 0.16852,
"h": 272.9
},
"luminance": 0.02042
}Semantic roles & 50–950 ramp
primary
#1A0F7D
secondary
#A7B434
accent
#F533E2
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08020F
muted
#7B787F