#1D1E7D#1D1E7D

#1D1E7D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.154 H 272.6°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#1D1E7D
RGBrgb(29, 30, 125)
HSLhsl(239, 62%, 30%)
HSVhsv(239, 77%, 49%)
CMYKcmyk(76.8%, 76%, 0%, 51%)
CIE-LABlab(18.67, 33.71, -53.28)
CIE-LCHlch(18.67, 63.05, 302.32°)
OKLaboklab(31.32% 0.007 -0.1542)
OKLCHoklch(31.32% 0.154 272.6)
XYZxyz(4.6714, 2.6699, 19.6672)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1E7D #7D7C1D
analogous
#1D4E7D #1D1E7D #4C1D7D
triadic
#1D1E7D #7D1D1E #1E7D1D
tetradic
#1D1E7D #7D1D4E #7D7C1D #1D7D4C
square
#1D1E7D #7D1D4E #7D7C1D #1D7D4C
split-complementary
#1D1E7D #7D4C1D #4E7D1D
monochromatic
#06061A #11124B #1D1E7D #292AAF #4143D3

Accessibility & contrast

On white

13.69
#1D1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1D1E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1E7D
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1E7D#FFFFFF#000000##FFFFFF
##1D1E7D1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d1e7d;
/* rgb */ color: rgb(29, 30, 125);
/* oklch */ color: oklch(31.3% 0.154 272.6);
Tailwind
colors: {
  custom: {
    50: '#6a5ba4',
    500: '#1d1e7d',
    950: '#000000',
  },
}
SCSS
$custom: #1d1e7d;
$custom-light: #6a5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1e7d",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 239.375,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31315,
    "c": 0.15434,
    "h": 272.6
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#1D1E7D
secondary
#B1AF45
accent
#E442E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1D1E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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