#1D1990#1D1990

#1D1990 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.183 H 271.5°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#1D1990
RGBrgb(29, 25, 144)
HSLhsl(242, 70%, 33%)
HSVhsv(242, 83%, 56%)
CMYKcmyk(79.9%, 82.6%, 0%, 43.5%)
CIE-LABlab(19.92, 42.99, -63.16)
CIE-LCHlch(19.92, 76.41, 304.24°)
OKLaboklab(32.85% 0.0049 -0.1828)
OKLCHoklch(32.85% 0.183 271.5)
XYZxyz(5.8867, 2.9694, 26.6431)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1990 #8C9019
analogous
#195090 #1D1990 #581990
triadic
#1D1990 #901D19 #19901D
tetradic
#1D1990 #901950 #8C9019 #199058
square
#1D1990 #901950 #8C9019 #199058
split-complementary
#1D1990 #905819 #509019
monochromatic
#080728 #12105C #1D1990 #2822C4 #4A45DF

Accessibility & contrast

On white

13.17
#1D1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1D1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1990
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1990#FFFFFF#000000##FFFFFF
##1D19901.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d1990;
/* rgb */ color: rgb(29, 25, 144);
/* oklch */ color: oklch(32.8% 0.183 271.5);
Tailwind
colors: {
  custom: {
    50: '#7059b2',
    500: '#1d1990',
    950: '#000000',
  },
}
SCSS
$custom: #1d1990;
$custom-light: #7059b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1990",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 242.017,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.32846,
    "c": 0.18287,
    "h": 271.5
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#1D1990
secondary
#BCC045
accent
#ED3BE7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D1990

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

Preview Lab → · Contrast checker → · Palette generator →

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