#1D1889#1D1889

#1D1889 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.175 H 272.2°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#1D1889
RGBrgb(29, 24, 137)
HSLhsl(243, 70%, 32%)
HSVhsv(243, 82%, 54%)
CMYKcmyk(78.8%, 82.5%, 0%, 46.3%)
CIE-LABlab(18.89, 41.22, -60.51)
CIE-LCHlch(18.89, 73.21, 304.26°)
OKLaboklab(31.88% 0.0068 -0.1751)
OKLCHoklch(31.88% 0.175 272.2)
XYZxyz(5.3472, 2.7200, 23.9053)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1889 #848918
analogous
#184C89 #1D1889 #561889
triadic
#1D1889 #891D18 #18891D
tetradic
#1D1889 #89184C #848918 #188956
square
#1D1889 #89184C #848918 #188956
split-complementary
#1D1889 #895618 #4C8918
monochromatic
#070621 #120F55 #1D1889 #2821BD #453EDD

Accessibility & contrast

On white

13.60
#1D1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1889
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1889#FFFFFF#000000##FFFFFF
##1D18891.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1889;
/* rgb */ color: rgb(29, 24, 137);
/* oklch */ color: oklch(31.9% 0.175 272.2);
Tailwind
colors: {
  custom: {
    50: '#6e58ad',
    500: '#1d1889',
    950: '#000000',
  },
}
SCSS
$custom: #1d1889;
$custom-light: #6e58ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1889",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 242.655,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31878,
    "c": 0.17523,
    "h": 272.2
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#1D1889
secondary
#B7BD40
accent
#ED3BE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1D1889

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

Preview Lab → · Contrast checker → · Palette generator →

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