#1A0F7E#1A0F7E
#1A0F7E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.170 H 272.8°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1A0F7E |
|---|---|
| RGB | rgb(26, 15, 126) |
| HSL | hsl(246, 79%, 28%) |
| HSV | hsv(246, 88%, 49%) |
| CMYK | cmyk(79.4%, 88.1%, 0%, 50.6%) |
| CIE-LAB | lab(15.84, 41.78, -58.62) |
| CIE-LCH | lch(15.84, 71.99, 305.48°) |
| OKLab | oklab(29.32% 0.0083 -0.1695) |
| OKLCH | oklch(29.32% 0.17 272.8) |
| XYZ | xyz(4.3615, 2.0671, 19.9038) |
| Luminance | 0.0207 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.62
Darkblue
#00008B
ΔE00 2.93
Deep Blue
#040273
ΔE00 2.97
Dark Royal Blue
#02066F
ΔE00 3.06
Royal
#0C1793
ΔE00 3.39
Midnight Blue
#191970
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A0F7E #737E0F
analogous
#0F3B7E #1A0F7E #510F7E
triadic
#1A0F7E #7E1A0F #0F7E1A
tetradic
#1A0F7E #7E0F3B #737E0F #0F7E51
square
#1A0F7E #7E0F3B #737E0F #0F7E51
split-complementary
#1A0F7E #7E510F #3B7E0F
monochromatic
#06031B #0F0847 #1A0F7E #2516B5 #3623E5
Accessibility & contrast
On white
14.86
#1A0F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#1A0F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A0F7E
14.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A0F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A0F7E | 1.00 | 14.86 | 1.41 | 14.86 |
| #FFFFFF | 14.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C81
Deuteranopia (green-blind)
#00227C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #1a0f7e; /* rgb */ color: rgb(26, 15, 126); /* oklch */ color: oklch(29.3% 0.170 272.8);
Tailwind
colors: {
custom: {
50: '#6b52a5',
500: '#1a0f7e',
950: '#000000',
},
}SCSS
$custom: #1a0f7e; $custom-light: #6b52a5; $custom-dark: #000000;
JSON
{
"hex": "#1a0f7e",
"rgb": {
"r": 26,
"g": 15,
"b": 126
},
"hsl": {
"h": 245.946,
"s": 78.723,
"l": 27.647
},
"oklch": {
"l": 0.29316,
"c": 0.16972,
"h": 272.8
},
"luminance": 0.02068
}Semantic roles & 50–950 ramp
primary
#1A0F7E
secondary
#A8B534
accent
#F533E2
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08020F
muted
#7B787F