#1A1D9F#1A1D9F

#1A1D9F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.198 H 269.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#1A1D9F
RGBrgb(26, 29, 159)
HSLhsl(239, 72%, 36%)
HSVhsv(239, 84%, 62%)
CMYKcmyk(83.6%, 81.8%, 0%, 37.6%)
CIE-LABlab(22.30, 45.68, -68.45)
CIE-LCHlch(22.30, 82.30, 303.71°)
OKLaboklab(34.99% -0.0026 -0.1982)
OKLCHoklch(34.99% 0.198 269.2)
XYZxyz(7.1212, 3.6007, 33.1138)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1D9F #9F9C1A
analogous
#1A609F #1A1D9F #5A1A9F
triadic
#1A1D9F #9F1A1D #1D9F1A
tetradic
#1A1D9F #9F1A60 #9F9C1A #1A9F5A
square
#1A1D9F #9F1A60 #9F9C1A #1A9F5A
split-complementary
#1A1D9F #9F5A1A #609F1A
monochromatic
#090A36 #11136A #1A1D9F #2327D4 #5154E3

Accessibility & contrast

On white

12.21
#1A1D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1A1D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1D9F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1D9F#FFFFFF#000000##FFFFFF
##1A1D9F1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a1d9f;
/* rgb */ color: rgb(26, 29, 159);
/* oklch */ color: oklch(35.0% 0.198 269.2);
Tailwind
colors: {
  custom: {
    50: '#735cbd',
    500: '#1a1d9f',
    950: '#000000',
  },
}
SCSS
$custom: #1a1d9f;
$custom-light: #735cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1d9f",
  "rgb": {
    "r": 26,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 238.647,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34995,
    "c": 0.19827,
    "h": 269.2
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#1A1D9F
secondary
#C5C250
accent
#EB39EF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1A1D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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