#1A0D5F#1A0D5F

#1A0D5F is a dark, vivid blue. Relative luminance 0.013; OKLCH L 25.2% C 0.133 H 278.1°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#1A0D5F
RGBrgb(26, 13, 95)
HSLhsl(250, 76%, 21%)
HSVhsv(250, 86%, 37%)
CMYKcmyk(72.6%, 86.3%, 0%, 62.7%)
CIE-LABlab(11.51, 32.76, -45.56)
CIE-LCHlch(11.51, 56.11, 305.71°)
OKLaboklab(25.18% 0.0188 -0.1316)
OKLCHoklch(25.18% 0.133 278.1)
XYZxyz(2.6348, 1.3335, 10.9428)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0D5F #525F0D
analogous
#0D295F #1A0D5F #430D5F
triadic
#1A0D5F #5F1A0D #0D5F1A
tetradic
#1A0D5F #5F0D29 #525F0D #0D5F43
square
#1A0D5F #5F0D29 #525F0D #0D5F43
split-complementary
#1A0D5F #5F430D #295F0D
monochromatic
#07041B #0B0629 #1A0D5F #291495 #371CCB

Accessibility & contrast

On white

16.58
#1A0D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1A0D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0D5F
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0D5F#FFFFFF#000000##FFFFFF
##1A0D5F1.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002261
Deuteranopia (green-blind)
#001B5E
Tritanopia (blue-blind)
#002637
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1a0d5f;
/* rgb */ color: rgb(26, 13, 95);
/* oklch */ color: oklch(25.2% 0.133 278.1);
Tailwind
colors: {
  custom: {
    50: '#634f8d',
    500: '#1a0d5f',
    950: '#000000',
  },
}
SCSS
$custom: #1a0d5f;
$custom-light: #634f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0d5f",
  "rgb": {
    "r": 26,
    "g": 13,
    "b": 95
  },
  "hsl": {
    "h": 249.512,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25181,
    "c": 0.13295,
    "h": 278.1
  },
  "luminance": 0.01334
}

Semantic roles & 50–950 ramp

primary
#1A0D5F
secondary
#88992F
accent
#F335D5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A0D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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