#1D1A89#1D1A89

#1D1A89 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.173 H 272.0°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#1D1A89
RGBrgb(29, 26, 137)
HSLhsl(242, 68%, 32%)
HSVhsv(242, 81%, 54%)
CMYKcmyk(78.8%, 81%, 0%, 46.3%)
CIE-LABlab(19.25, 40.16, -59.91)
CIE-LCHlch(19.25, 72.12, 303.84°)
OKLaboklab(32.13% 0.0062 -0.1734)
OKLCHoklch(32.13% 0.174 272)
XYZxyz(5.3899, 2.8056, 23.9195)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1A89 #86891A
analogous
#1A4E89 #1D1A89 #551A89
triadic
#1D1A89 #891D1A #1A891D
tetradic
#1D1A89 #891A4E #86891A #1A8955
square
#1D1A89 #891A4E #86891A #1A8955
split-complementary
#1D1A89 #89551A #4E891A
monochromatic
#070622 #121056 #1D1A89 #2824BC #4642DB

Accessibility & contrast

On white

13.45
#1D1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1D1A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1A89
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1A89#FFFFFF#000000##FFFFFF
##1D1A891.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d1a89;
/* rgb */ color: rgb(29, 26, 137);
/* oklch */ color: oklch(32.1% 0.173 272.0);
Tailwind
colors: {
  custom: {
    50: '#6e59ad',
    500: '#1d1a89',
    950: '#000000',
  },
}
SCSS
$custom: #1d1a89;
$custom-light: #6e59ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1a89",
  "rgb": {
    "r": 29,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 241.622,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3213,
    "c": 0.1735,
    "h": 272
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#1D1A89
secondary
#B9BC43
accent
#EB3DE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1A89

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

Preview Lab → · Contrast checker → · Palette generator →

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