#1D1973#1D1973

#1D1973 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.146 H 274.5°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#1D1973
RGBrgb(29, 25, 115)
HSLhsl(243, 64%, 27%)
HSVhsv(243, 78%, 45%)
CMYKcmyk(74.8%, 78.3%, 0%, 54.9%)
CIE-LABlab(16.47, 33.19, -50.49)
CIE-LCHlch(16.47, 60.42, 303.31°)
OKLaboklab(29.42% 0.0116 -0.146)
OKLCHoklch(29.42% 0.146 274.5)
XYZxyz(3.9478, 2.1939, 16.4317)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1973 #6F7319
analogous
#194273 #1D1973 #4A1973
triadic
#1D1973 #731D19 #19731D
tetradic
#1D1973 #731942 #6F7319 #19734A
square
#1D1973 #731942 #6F7319 #19734A
split-complementary
#1D1973 #734A19 #427319
monochromatic
#060519 #100E41 #1D1973 #2A24A5 #3B34D3

Accessibility & contrast

On white

14.60
#1D1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1D1973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1973
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1973#FFFFFF#000000##FFFFFF
##1D19731.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002571
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1d1973;
/* rgb */ color: rgb(29, 25, 115);
/* oklch */ color: oklch(29.4% 0.146 274.5);
Tailwind
colors: {
  custom: {
    50: '#68579c',
    500: '#1d1973',
    950: '#000000',
  },
}
SCSS
$custom: #1d1973;
$custom-light: #68579c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1973",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 242.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29422,
    "c": 0.14649,
    "h": 274.5
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#1D1973
secondary
#A3A840
accent
#E741E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1973

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

Preview Lab → · Contrast checker → · Palette generator →

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