#1D1575#1D1575

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

Color values

HEX#1D1575
RGBrgb(29, 21, 117)
HSLhsl(245, 70%, 27%)
HSVhsv(245, 82%, 46%)
CMYKcmyk(75.2%, 82.1%, 0%, 54.1%)
CIE-LABlab(15.91, 36.16, -52.72)
CIE-LCHlch(15.91, 63.92, 304.44°)
OKLaboklab(29.1% 0.0131 -0.1524)
OKLCHoklch(29.1% 0.153 274.9)
XYZxyz(3.9847, 2.0815, 17.0179)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1575 #6D7515
analogous
#153D75 #1D1575 #4D1575
triadic
#1D1575 #751D15 #15751D
tetradic
#1D1575 #75153D #6D7515 #15754D
square
#1D1575 #75153D #6D7515 #15754D
split-complementary
#1D1575 #754D15 #3D7515
monochromatic
#06051A #100C41 #1D1575 #2A1EA9 #3A2BD9

Accessibility & contrast

On white

14.83
#1D1575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1575
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1575#FFFFFF#000000##FFFFFF
##1D15751.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002373
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d1575;
/* rgb */ color: rgb(29, 21, 117);
/* oklch */ color: oklch(29.1% 0.153 274.9);
Tailwind
colors: {
  custom: {
    50: '#69559e',
    500: '#1d1575',
    950: '#000000',
  },
}
SCSS
$custom: #1d1575;
$custom-light: #69559e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1575",
  "rgb": {
    "r": 29,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 245,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29095,
    "c": 0.15301,
    "h": 274.9
  },
  "luminance": 0.02082
}

Semantic roles & 50–950 ramp

primary
#1D1575
secondary
#A2AB3B
accent
#EC3BDE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1575

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

Preview Lab → · Contrast checker → · Palette generator →

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