#1D1D73#1D1D73

#1D1D73 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.142 H 273.8°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#1D1D73
RGBrgb(29, 29, 115)
HSLhsl(240, 60%, 28%)
HSVhsv(240, 75%, 45%)
CMYKcmyk(74.8%, 74.8%, 0%, 54.9%)
CIE-LABlab(17.35, 30.72, -49.04)
CIE-LCHlch(17.35, 57.87, 302.06°)
OKLaboklab(30.05% 0.0093 -0.1418)
OKLCHoklch(30.05% 0.142 273.8)
XYZxyz(4.0395, 2.3773, 16.4623)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1D73 #73731D
analogous
#1D4873 #1D1D73 #481D73
triadic
#1D1D73 #731D1D #1D731D
tetradic
#1D1D73 #731D48 #73731D #1D7348
square
#1D1D73 #731D48 #73731D #1D7348
split-complementary
#1D1D73 #73481D #48731D
monochromatic
#060618 #111142 #1D1D73 #2929A4 #3C3CCE

Accessibility & contrast

On white

14.23
#1D1D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1D73
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1D73#FFFFFF#000000##FFFFFF
##1D1D731.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002771
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d1d73;
/* rgb */ color: rgb(29, 29, 115);
/* oklch */ color: oklch(30.0% 0.142 273.8);
Tailwind
colors: {
  custom: {
    50: '#685a9c',
    500: '#1d1d73',
    950: '#000000',
  },
}
SCSS
$custom: #1d1d73;
$custom-light: #685a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1d73",
  "rgb": {
    "r": 29,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 240,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30049,
    "c": 0.14212,
    "h": 273.8
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#1D1D73
secondary
#A7A745
accent
#E345E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D1D73

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

Preview Lab → · Contrast checker → · Palette generator →

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