#1D1EA0#1D1EA0

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

Color values

HEX#1D1EA0
RGBrgb(29, 30, 160)
HSLhsl(240, 69%, 37%)
HSVhsv(240, 82%, 63%)
CMYKcmyk(81.9%, 81.3%, 0%, 37.3%)
CIE-LABlab(22.75, 45.66, -68.33)
CIE-LCHlch(22.75, 82.18, 303.75°)
OKLaboklab(35.38% 0.0001 -0.1978)
OKLCHoklch(35.38% 0.198 270)
XYZxyz(7.3140, 3.7270, 33.5848)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1EA0 #A09F1D
analogous
#1D60A0 #1D1EA0 #5E1DA0
triadic
#1D1EA0 #A01D1E #1EA01D
tetradic
#1D1EA0 #A01D60 #A09F1D #1DA05E
square
#1D1EA0 #A01D60 #A09F1D #1DA05E
split-complementary
#1D1EA0 #A05E1D #60A01D
monochromatic
#0A0B38 #14146C #1D1EA0 #2628D4 #5758E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D1EA0#FFFFFF#000000##FFFFFF
##1D1EA01.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)
#003DA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d1ea0;
/* rgb */ color: rgb(29, 30, 160);
/* oklch */ color: oklch(35.4% 0.198 270.0);
Tailwind
colors: {
  custom: {
    50: '#745dbd',
    500: '#1d1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #1d1ea0;
$custom-light: #745dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1ea0",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 239.542,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35379,
    "c": 0.19785,
    "h": 270
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#1D1EA0
secondary
#C4C355
accent
#EB3CEC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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