#1D1E7C#1D1E7C

#1D1E7C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.153 H 272.7°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#1D1E7C
RGBrgb(29, 30, 124)
HSLhsl(239, 62%, 30%)
HSVhsv(239, 77%, 49%)
CMYKcmyk(76.6%, 75.8%, 0%, 51.4%)
CIE-LABlab(18.56, 33.35, -52.82)
CIE-LCHlch(18.56, 62.47, 302.27°)
OKLaboklab(31.2% 0.0072 -0.1529)
OKLCHoklch(31.2% 0.153 272.7)
XYZxyz(4.6078, 2.6445, 19.3325)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1E7C #7C7B1D
analogous
#1D4E7C #1D1E7C #4B1D7C
triadic
#1D1E7C #7C1D1E #1E7C1D
tetradic
#1D1E7C #7C1D4E #7C7B1D #1D7C4B
square
#1D1E7C #7C1D4E #7C7B1D #1D7C4B
split-complementary
#1D1E7C #7C4B1D #4E7C1D
monochromatic
#060619 #11124A #1D1E7C #292AAE #4142D3

Accessibility & contrast

On white

13.73
#1D1E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1E7C
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1E7C#FFFFFF#000000##FFFFFF
##1D1E7C1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d1e7c;
/* rgb */ color: rgb(29, 30, 124);
/* oklch */ color: oklch(31.2% 0.153 272.7);
Tailwind
colors: {
  custom: {
    50: '#6a5ba3',
    500: '#1d1e7c',
    950: '#000000',
  },
}
SCSS
$custom: #1d1e7c;
$custom-light: #6a5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1e7c",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 239.368,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.31203,
    "c": 0.15303,
    "h": 272.7
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#1D1E7C
secondary
#B0AE45
accent
#E343E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1D1E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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