#1D1772#1D1772

#1D1772 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.147 H 275.0°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#1D1772
RGBrgb(29, 23, 114)
HSLhsl(244, 66%, 27%)
HSVhsv(244, 80%, 45%)
CMYKcmyk(74.6%, 79.8%, 0%, 55.3%)
CIE-LABlab(15.95, 34.01, -50.72)
CIE-LCHlch(15.95, 61.07, 303.85°)
OKLaboklab(29.02% 0.0129 -0.1467)
OKLCHoklch(29.02% 0.147 275)
XYZxyz(3.8494, 2.0885, 16.1166)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1772 #6C7217
analogous
#173F72 #1D1772 #4B1772
triadic
#1D1772 #721D17 #17721D
tetradic
#1D1772 #72173F #6C7217 #17724B
square
#1D1772 #72173F #6C7217 #17724B
split-complementary
#1D1772 #724B17 #3F7217
monochromatic
#060519 #100D3F #1D1772 #2A21A5 #392ED5

Accessibility & contrast

On white

14.81
#1D1772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1772
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1772#FFFFFF#000000##FFFFFF
##1D17721.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1772;
/* rgb */ color: rgb(29, 23, 114);
/* oklch */ color: oklch(29.0% 0.147 275.0);
Tailwind
colors: {
  custom: {
    50: '#68569c',
    500: '#1d1772',
    950: '#000000',
  },
}
SCSS
$custom: #1d1772;
$custom-light: #68569c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1772",
  "rgb": {
    "r": 29,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 243.956,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29016,
    "c": 0.14722,
    "h": 275
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#1D1772
secondary
#A1A83D
accent
#E93EDE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1772

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

Preview Lab → · Contrast checker → · Palette generator →

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