#1A0F7F#1A0F7F
#1A0F7F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.171 H 272.7°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1A0F7F |
|---|---|
| RGB | rgb(26, 15, 127) |
| HSL | hsl(246, 79%, 28%) |
| HSV | hsv(246, 88%, 50%) |
| CMYK | cmyk(79.5%, 88.2%, 0%, 50.2%) |
| CIE-LAB | lab(15.97, 42.09, -59.03) |
| CIE-LCH | lch(15.97, 72.50, 305.49°) |
| OKLab | oklab(29.45% 0.0081 -0.1707) |
| OKLCH | oklch(29.45% 0.171 272.7) |
| XYZ | xyz(4.4263, 2.0931, 20.2453) |
| Luminance | 0.0209 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.61
Darkblue
#00008B
ΔE00 2.84
Deep Blue
#040273
ΔE00 3.05
Dark Royal Blue
#02066F
ΔE00 3.17
Royal
#0C1793
ΔE00 3.26
Midnight Blue
#191970
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A0F7F #747F0F
analogous
#0F3C7F #1A0F7F #520F7F
triadic
#1A0F7F #7F1A0F #0F7F1A
tetradic
#1A0F7F #7F0F3C #747F0F #0F7F52
square
#1A0F7F #7F0F3C #747F0F #0F7F52
split-complementary
#1A0F7F #7F520F #3C7F0F
monochromatic
#06031B #0F0948 #1A0F7F #2515B6 #3623E5
Accessibility & contrast
On white
14.80
#1A0F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#1A0F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A0F7F
14.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A0F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A0F7F | 1.00 | 14.80 | 1.42 | 14.80 |
| #FFFFFF | 14.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00227D
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1a0f7f; /* rgb */ color: rgb(26, 15, 127); /* oklch */ color: oklch(29.4% 0.171 272.7);
Tailwind
colors: {
custom: {
50: '#6b52a5',
500: '#1a0f7f',
950: '#000000',
},
}SCSS
$custom: #1a0f7f; $custom-light: #6b52a5; $custom-dark: #000000;
JSON
{
"hex": "#1a0f7f",
"rgb": {
"r": 26,
"g": 15,
"b": 127
},
"hsl": {
"h": 245.893,
"s": 78.873,
"l": 27.843
},
"oklch": {
"l": 0.29445,
"c": 0.1709,
"h": 272.7
},
"luminance": 0.02094
}Semantic roles & 50–950 ramp
primary
#1A0F7F
secondary
#A9B534
accent
#F532E2
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08020F
muted
#7B787F