#1D1989#1D1989

#1D1989 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.174 H 272.1°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#1D1989
RGBrgb(29, 25, 137)
HSLhsl(242, 69%, 32%)
HSVhsv(242, 82%, 54%)
CMYKcmyk(78.8%, 81.8%, 0%, 46.3%)
CIE-LABlab(19.06, 40.70, -60.21)
CIE-LCHlch(19.06, 72.67, 304.06°)
OKLaboklab(32% 0.0065 -0.1742)
OKLCHoklch(32% 0.174 272.1)
XYZxyz(5.3682, 2.7620, 23.9123)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1989 #858919
analogous
#194D89 #1D1989 #551989
triadic
#1D1989 #891D19 #19891D
tetradic
#1D1989 #89194D #858919 #198955
square
#1D1989 #89194D #858919 #198955
split-complementary
#1D1989 #895519 #4D8919
monochromatic
#070621 #121055 #1D1989 #2822BD #4640DC

Accessibility & contrast

On white

13.53
#1D1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1D1989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1989
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1989#FFFFFF#000000##FFFFFF
##1D19891.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1989;
/* rgb */ color: rgb(29, 25, 137);
/* oklch */ color: oklch(32.0% 0.174 272.1);
Tailwind
colors: {
  custom: {
    50: '#6e59ad',
    500: '#1d1989',
    950: '#000000',
  },
}
SCSS
$custom: #1d1989;
$custom-light: #6e59ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1989",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 242.143,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32002,
    "c": 0.17437,
    "h": 272.1
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#1D1989
secondary
#B8BC41
accent
#EC3CE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1D1989

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

Preview Lab → · Contrast checker → · Palette generator →

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