#1D1D7A#1D1D7A

#1D1D7A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.151 H 273.0°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#1D1D7A
RGBrgb(29, 29, 122)
HSLhsl(240, 62%, 30%)
HSVhsv(240, 76%, 48%)
CMYKcmyk(76.2%, 76.2%, 0%, 52.2%)
CIE-LABlab(18.12, 33.25, -52.27)
CIE-LCHlch(18.12, 61.95, 302.46°)
OKLaboklab(30.82% 0.008 -0.1512)
OKLCHoklch(30.82% 0.151 273)
XYZxyz(4.4577, 2.5446, 18.6648)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1D7A #7A7A1D
analogous
#1D4C7A #1D1D7A #4C1D7A
triadic
#1D1D7A #7A1D1D #1D7A1D
tetradic
#1D1D7A #7A1D4C #7A7A1D #1D7A4C
square
#1D1D7A #7A1D4C #7A7A1D #1D7A4C
split-complementary
#1D1D7A #7A4C1D #4C7A1D
monochromatic
#060619 #111149 #1D1D7A #2929AB #4040D2

Accessibility & contrast

On white

13.92
#1D1D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1D1D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1D7A
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1D7A#FFFFFF#000000##FFFFFF
##1D1D7A1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1d7a;
/* rgb */ color: rgb(29, 29, 122);
/* oklch */ color: oklch(30.8% 0.151 273.0);
Tailwind
colors: {
  custom: {
    50: '#6a5aa1',
    500: '#1d1d7a',
    950: '#000000',
  },
}
SCSS
$custom: #1d1d7a;
$custom-light: #6a5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1d7a",
  "rgb": {
    "r": 29,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 240,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30824,
    "c": 0.15146,
    "h": 273
  },
  "luminance": 0.02545
}

Semantic roles & 50–950 ramp

primary
#1D1D7A
secondary
#AEAE45
accent
#E543E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1D1D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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