#1D2790#1D2790

#1D2790 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.169 H 269.9°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#1D2790
RGBrgb(29, 39, 144)
HSLhsl(235, 66%, 34%)
HSVhsv(235, 80%, 56%)
CMYKcmyk(79.9%, 72.9%, 0%, 43.5%)
CIE-LABlab(22.74, 34.98, -58.50)
CIE-LCHlch(22.74, 68.16, 300.88°)
OKLaboklab(34.84% -0.0003 -0.1694)
OKLCHoklch(34.84% 0.169 269.9)
XYZxyz(6.2645, 3.7252, 26.7690)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2790 #90861D
analogous
#1D6190 #1D2790 #4D1D90
triadic
#1D2790 #901D27 #27901D
tetradic
#1D2790 #901D61 #90861D #1D904D
square
#1D2790 #901D61 #90861D #1D904D
split-complementary
#1D2790 #904D1D #61901D
monochromatic
#080B2A #13195D #1D2790 #2735C3 #4C59DB

Accessibility & contrast

On white

12.03
#1D2790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1D2790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2790
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2790#FFFFFF#000000##FFFFFF
##1D27901.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2790;
/* rgb */ color: rgb(29, 39, 144);
/* oklch */ color: oklch(34.8% 0.169 269.9);
Tailwind
colors: {
  custom: {
    50: '#6e62b2',
    500: '#1d2790',
    950: '#000000',
  },
}
SCSS
$custom: #1d2790;
$custom-light: #6e62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2790",
  "rgb": {
    "r": 29,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 234.783,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34841,
    "c": 0.16941,
    "h": 269.9
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#1D2790
secondary
#BDB44B
accent
#DB3EE9
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D2790

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

Preview Lab → · Contrast checker → · Palette generator →

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