#1D1574#1D1574

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

Color values

HEX#1D1574
RGBrgb(29, 21, 116)
HSLhsl(245, 69%, 27%)
HSVhsv(245, 82%, 45%)
CMYKcmyk(75%, 81.9%, 0%, 54.5%)
CIE-LABlab(15.79, 35.82, -52.27)
CIE-LCHlch(15.79, 63.36, 304.42°)
OKLaboklab(28.98% 0.0133 -0.1511)
OKLCHoklch(28.98% 0.152 275)
XYZxyz(3.9262, 2.0581, 16.7100)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1574 #6C7415
analogous
#153C74 #1D1574 #4D1574
triadic
#1D1574 #741D15 #15741D
tetradic
#1D1574 #74153C #6C7415 #15744D
square
#1D1574 #74153C #6C7415 #15744D
split-complementary
#1D1574 #744D15 #3C7415
monochromatic
#06051A #100C40 #1D1574 #2A1EA8 #392BD9

Accessibility & contrast

On white

14.88
#1D1574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1D1574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1574
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1574#FFFFFF#000000##FFFFFF
##1D15741.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002372
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d1574;
/* rgb */ color: rgb(29, 21, 116);
/* oklch */ color: oklch(29.0% 0.152 275.0);
Tailwind
colors: {
  custom: {
    50: '#69559d',
    500: '#1d1574',
    950: '#000000',
  },
}
SCSS
$custom: #1d1574;
$custom-light: #69559d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1574",
  "rgb": {
    "r": 29,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 245.053,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28976,
    "c": 0.15174,
    "h": 275
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#1D1574
secondary
#A1AA3B
accent
#EC3CDD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1574

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

Preview Lab → · Contrast checker → · Palette generator →

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