#1D1EA1#1D1EA1

#1D1EA1 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.199 H 270.0°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#1D1EA1
RGBrgb(29, 30, 161)
HSLhsl(240, 69%, 37%)
HSVhsv(240, 82%, 63%)
CMYKcmyk(82%, 81.4%, 0%, 36.9%)
CIE-LABlab(22.87, 45.98, -68.73)
CIE-LCHlch(22.87, 82.70, 303.78°)
OKLaboklab(35.5% -0.0001 -0.199)
OKLCHoklch(35.5% 0.199 270)
XYZxyz(7.4018, 3.7621, 34.0474)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1EA1 #A1A01D
analogous
#1D60A1 #1D1EA1 #5E1DA1
triadic
#1D1EA1 #A11D1E #1EA11D
tetradic
#1D1EA1 #A11D60 #A1A01D #1DA15E
square
#1D1EA1 #A11D60 #A1A01D #1DA15E
split-complementary
#1D1EA1 #A15E1D #60A11D
monochromatic
#0A0B39 #14146D #1D1EA1 #2628D5 #5859E1

Accessibility & contrast

On white

11.98
#1D1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1EA1
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1EA1#FFFFFF#000000##FFFFFF
##1D1EA11.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00309F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d1ea1;
/* rgb */ color: rgb(29, 30, 161);
/* oklch */ color: oklch(35.5% 0.199 270.0);
Tailwind
colors: {
  custom: {
    50: '#745dbe',
    500: '#1d1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #1d1ea1;
$custom-light: #745dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1ea1",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 239.545,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35498,
    "c": 0.19903,
    "h": 270
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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