#1A0D5C#1A0D5C

#1A0D5C is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.8% C 0.129 H 278.8°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#1A0D5C
RGBrgb(26, 13, 92)
HSLhsl(250, 75%, 21%)
HSVhsv(250, 86%, 36%)
CMYKcmyk(71.7%, 85.9%, 0%, 63.9%)
CIE-LABlab(11.13, 31.76, -44.16)
CIE-LCHlch(11.13, 54.40, 305.72°)
OKLaboklab(24.81% 0.0198 -0.1275)
OKLCHoklch(24.81% 0.129 278.8)
XYZxyz(2.5011, 1.2800, 10.2384)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0D5C #4F5C0D
analogous
#0D285C #1A0D5C #410D5C
triadic
#1A0D5C #5C1A0D #0D5C1A
tetradic
#1A0D5C #5C0D28 #4F5C0D #0D5C41
square
#1A0D5C #5C0D28 #4F5C0D #0D5C41
split-complementary
#1A0D5C #5C410D #285C0D
monochromatic
#08041B #0B0526 #1A0D5C #291592 #381CC7

Accessibility & contrast

On white

16.72
#1A0D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0D5C
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0D5C#FFFFFF#000000##FFFFFF
##1A0D5C1.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215E
Deuteranopia (green-blind)
#001B5B
Tritanopia (blue-blind)
#002535
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1a0d5c;
/* rgb */ color: rgb(26, 13, 92);
/* oklch */ color: oklch(24.8% 0.129 278.8);
Tailwind
colors: {
  custom: {
    50: '#624e8b',
    500: '#1a0d5c',
    950: '#000000',
  },
}
SCSS
$custom: #1a0d5c;
$custom-light: #624e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0d5c",
  "rgb": {
    "r": 26,
    "g": 13,
    "b": 92
  },
  "hsl": {
    "h": 249.873,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24813,
    "c": 0.12908,
    "h": 278.8
  },
  "luminance": 0.0128
}

Semantic roles & 50–950 ramp

primary
#1A0D5C
secondary
#85962F
accent
#F236D3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A0D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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