#1A0D5E#1A0D5E

#1A0D5E is a dark, vivid blue. Relative luminance 0.013; OKLCH L 25.1% C 0.132 H 278.4°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#1A0D5E
RGBrgb(26, 13, 94)
HSLhsl(250, 76%, 21%)
HSVhsv(250, 86%, 37%)
CMYKcmyk(72.3%, 86.2%, 0%, 63.1%)
CIE-LABlab(11.38, 32.43, -45.10)
CIE-LCHlch(11.38, 55.54, 305.72°)
OKLaboklab(25.06% 0.0191 -0.1303)
OKLCHoklch(25.06% 0.132 278.4)
XYZxyz(2.5897, 1.3154, 10.7049)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0D5E #515E0D
analogous
#0D285E #1A0D5E #420D5E
triadic
#1A0D5E #5E1A0D #0D5E1A
tetradic
#1A0D5E #5E0D28 #515E0D #0D5E42
square
#1A0D5E #5E0D28 #515E0D #0D5E42
split-complementary
#1A0D5E #5E420D #285E0D
monochromatic
#07041B #0B0628 #1A0D5E #291494 #381CCA

Accessibility & contrast

On white

16.62
#1A0D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1A0D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0D5E
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0D5E#FFFFFF#000000##FFFFFF
##1A0D5E1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002160
Deuteranopia (green-blind)
#001B5D
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1a0d5e;
/* rgb */ color: rgb(26, 13, 94);
/* oklch */ color: oklch(25.1% 0.132 278.4);
Tailwind
colors: {
  custom: {
    50: '#634f8d',
    500: '#1a0d5e',
    950: '#000000',
  },
}
SCSS
$custom: #1a0d5e;
$custom-light: #634f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0d5e",
  "rgb": {
    "r": 26,
    "g": 13,
    "b": 94
  },
  "hsl": {
    "h": 249.63,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25058,
    "c": 0.13166,
    "h": 278.4
  },
  "luminance": 0.01316
}

Semantic roles & 50–950 ramp

primary
#1A0D5E
secondary
#87982F
accent
#F236D4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A0D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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