#1D1E7A#1D1E7A

#1D1E7A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.150 H 272.9°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#1D1E7A
RGBrgb(29, 30, 122)
HSLhsl(239, 62%, 30%)
HSVhsv(239, 76%, 48%)
CMYKcmyk(76.2%, 75.4%, 0%, 52.2%)
CIE-LABlab(18.34, 32.63, -51.91)
CIE-LCHlch(18.34, 61.31, 302.15°)
OKLaboklab(30.98% 0.0075 -0.1502)
OKLCHoklch(30.98% 0.15 272.9)
XYZxyz(4.4826, 2.5944, 18.6731)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1E7A #7A791D
analogous
#1D4D7A #1D1E7A #4B1D7A
triadic
#1D1E7A #7A1D1E #1E7A1D
tetradic
#1D1E7A #7A1D4D #7A791D #1D7A4B
square
#1D1E7A #7A1D4D #7A791D #1D7A4B
split-complementary
#1D1E7A #7A4B1D #4D7A1D
monochromatic
#060619 #111249 #1D1E7A #292AAB #4041D2

Accessibility & contrast

On white

13.82
#1D1E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1D1E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1E7A
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1E7A#FFFFFF#000000##FFFFFF
##1D1E7A1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002878
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d1e7a;
/* rgb */ color: rgb(29, 30, 122);
/* oklch */ color: oklch(31.0% 0.150 272.9);
Tailwind
colors: {
  custom: {
    50: '#695ba1',
    500: '#1d1e7a',
    950: '#000000',
  },
}
SCSS
$custom: #1d1e7a;
$custom-light: #695ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1e7a",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 239.355,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30981,
    "c": 0.15038,
    "h": 272.9
  },
  "luminance": 0.02595
}

Semantic roles & 50–950 ramp

primary
#1D1E7A
secondary
#AEAD45
accent
#E343E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1D1E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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