#1D1F73#1D1F73

#1D1F73 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.140 H 273.3°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#1D1F73
RGBrgb(29, 31, 115)
HSLhsl(239, 60%, 28%)
HSVhsv(239, 75%, 45%)
CMYKcmyk(74.8%, 73%, 0%, 54.9%)
CIE-LABlab(17.82, 29.43, -48.27)
CIE-LCHlch(17.82, 56.54, 301.37°)
OKLaboklab(30.38% 0.0081 -0.1396)
OKLCHoklch(30.38% 0.14 273.3)
XYZxyz(4.0902, 2.4786, 16.4792)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1F73 #73711D
analogous
#1D4A73 #1D1F73 #461D73
triadic
#1D1F73 #731D1F #1F731D
tetradic
#1D1F73 #731D4A #73711D #1D7346
square
#1D1F73 #731D4A #73711D #1D7346
split-complementary
#1D1F73 #73461D #4A731D
monochromatic
#060718 #111242 #1D1F73 #292CA4 #3C40CE

Accessibility & contrast

On white

14.04
#1D1F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1D1F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1F73
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1F73#FFFFFF#000000##FFFFFF
##1D1F731.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d1f73;
/* rgb */ color: rgb(29, 31, 115);
/* oklch */ color: oklch(30.4% 0.140 273.3);
Tailwind
colors: {
  custom: {
    50: '#675b9c',
    500: '#1d1f73',
    950: '#000000',
  },
}
SCSS
$custom: #1d1f73;
$custom-light: #675b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1f73",
  "rgb": {
    "r": 29,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 238.605,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30384,
    "c": 0.13981,
    "h": 273.3
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#1D1F73
secondary
#A7A545
accent
#DF45E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D1F73

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

Preview Lab → · Contrast checker → · Palette generator →

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