#1D1E72#1D1E72

#1D1E72 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.140 H 273.6°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#1D1E72
RGBrgb(29, 30, 114)
HSLhsl(239, 59%, 28%)
HSVhsv(239, 75%, 45%)
CMYKcmyk(74.6%, 73.7%, 0%, 55.3%)
CIE-LABlab(17.48, 29.71, -48.19)
CIE-LCHlch(17.48, 56.61, 301.66°)
OKLaboklab(30.11% 0.0089 -0.1393)
OKLCHoklch(30.11% 0.14 273.6)
XYZxyz(4.0072, 2.4043, 16.1692)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1E72 #72711D
analogous
#1D4872 #1D1E72 #461D72
triadic
#1D1E72 #721D1E #1E721D
tetradic
#1D1E72 #721D48 #72711D #1D7246
square
#1D1E72 #721D48 #72711D #1D7246
split-complementary
#1D1E72 #72461D #48721D
monochromatic
#060618 #111141 #1D1E72 #292BA3 #3C3ECD

Accessibility & contrast

On white

14.18
#1D1E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1D1E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1E72
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1E72#FFFFFF#000000##FFFFFF
##1D1E721.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002770
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d1e72;
/* rgb */ color: rgb(29, 30, 114);
/* oklch */ color: oklch(30.1% 0.140 273.6);
Tailwind
colors: {
  custom: {
    50: '#675a9b',
    500: '#1d1e72',
    950: '#000000',
  },
}
SCSS
$custom: #1d1e72;
$custom-light: #675a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1e72",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 239.294,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30107,
    "c": 0.13962,
    "h": 273.6
  },
  "luminance": 0.02405
}

Semantic roles & 50–950 ramp

primary
#1D1E72
secondary
#A6A545
accent
#E145E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D1E72

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

Preview Lab → · Contrast checker → · Palette generator →

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