#1D1773#1D1773

#1D1773 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.149 H 274.9°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#1D1773
RGBrgb(29, 23, 115)
HSLhsl(244, 67%, 27%)
HSVhsv(244, 80%, 45%)
CMYKcmyk(74.8%, 80%, 0%, 54.9%)
CIE-LABlab(16.06, 34.36, -51.17)
CIE-LCHlch(16.06, 61.64, 303.88°)
OKLaboklab(29.13% 0.0126 -0.148)
OKLCHoklch(29.13% 0.149 274.9)
XYZxyz(3.9066, 2.1114, 16.4180)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1773 #6D7317
analogous
#173F73 #1D1773 #4B1773
triadic
#1D1773 #731D17 #17731D
tetradic
#1D1773 #73173F #6D7317 #17734B
square
#1D1773 #73173F #6D7317 #17734B
split-complementary
#1D1773 #734B17 #3F7317
monochromatic
#06051A #100D40 #1D1773 #2A21A6 #3A2FD5

Accessibility & contrast

On white

14.76
#1D1773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1D1773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1773
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1773#FFFFFF#000000##FFFFFF
##1D17731.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002471
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d1773;
/* rgb */ color: rgb(29, 23, 115);
/* oklch */ color: oklch(29.1% 0.149 274.9);
Tailwind
colors: {
  custom: {
    50: '#68569c',
    500: '#1d1773',
    950: '#000000',
  },
}
SCSS
$custom: #1d1773;
$custom-light: #68569c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1773",
  "rgb": {
    "r": 29,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 243.913,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29132,
    "c": 0.14853,
    "h": 274.9
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#1D1773
secondary
#A2A93D
accent
#EA3EDE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1773

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

Preview Lab → · Contrast checker → · Palette generator →

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