#1A0E7E#1A0E7E

#1A0E7E is a dark, vivid blue. Relative luminance 0.020; OKLCH L 29.2% C 0.170 H 272.9°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#1A0E7E
RGBrgb(26, 14, 126)
HSLhsl(246, 80%, 27%)
HSVhsv(246, 89%, 49%)
CMYKcmyk(79.4%, 88.9%, 0%, 50.6%)
CIE-LABlab(15.69, 42.21, -58.85)
CIE-LCHlch(15.69, 72.42, 305.65°)
OKLaboklab(29.22% 0.0086 -0.1702)
OKLCHoklch(29.22% 0.17 272.9)
XYZxyz(4.3477, 2.0396, 19.8992)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0E7E #727E0E
analogous
#0E3A7E #1A0E7E #520E7E
triadic
#1A0E7E #7E1A0E #0E7E1A
tetradic
#1A0E7E #7E0E3A #727E0E #0E7E52
square
#1A0E7E #7E0E3A #727E0E #0E7E52
split-complementary
#1A0E7E #7E520E #3A7E0E
monochromatic
#06031C #0F0847 #1A0E7E #2514B5 #3520E6

Accessibility & contrast

On white

14.91
#1A0E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1A0E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0E7E
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0E7E#FFFFFF#000000##FFFFFF
##1A0E7E1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.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: #1a0e7e;
/* rgb */ color: rgb(26, 14, 126);
/* oklch */ color: oklch(29.2% 0.170 272.9);
Tailwind
colors: {
  custom: {
    50: '#6b52a5',
    500: '#1a0e7e',
    950: '#000000',
  },
}
SCSS
$custom: #1a0e7e;
$custom-light: #6b52a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0e7e",
  "rgb": {
    "r": 26,
    "g": 14,
    "b": 126
  },
  "hsl": {
    "h": 246.429,
    "s": 80,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29219,
    "c": 0.17039,
    "h": 272.9
  },
  "luminance": 0.0204
}

Semantic roles & 50–950 ramp

primary
#1A0E7E
secondary
#A7B533
accent
#F631E1
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08020F
muted
#7B787F

Preview Lab

Preview with #1A0E7E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1A0E7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva