#1D1765#1D1765

#1D1765 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.130 H 277.0°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#1D1765
RGBrgb(29, 23, 101)
HSLhsl(245, 63%, 24%)
HSVhsv(245, 77%, 40%)
CMYKcmyk(71.3%, 77.2%, 0%, 60.4%)
CIE-LABlab(14.48, 29.44, -44.64)
CIE-LCHlch(14.48, 53.47, 303.40°)
OKLaboklab(27.54% 0.0159 -0.129)
OKLCHoklch(27.54% 0.13 277)
XYZxyz(3.1613, 1.8133, 12.4928)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1765 #5F6517
analogous
#173865 #1D1765 #441765
triadic
#1D1765 #651D17 #17651D
tetradic
#1D1765 #651738 #5F6517 #176544
square
#1D1765 #651738 #5F6517 #176544
split-complementary
#1D1765 #654417 #386517
monochromatic
#070619 #0F0C33 #1D1765 #2B2297 #3A2EC9

Accessibility & contrast

On white

15.41
#1D1765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1D1765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1765
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1765#FFFFFF#000000##FFFFFF
##1D17651.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002164
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1d1765;
/* rgb */ color: rgb(29, 23, 101);
/* oklch */ color: oklch(27.5% 0.130 277.0);
Tailwind
colors: {
  custom: {
    50: '#655592',
    500: '#1d1765',
    950: '#000000',
  },
}
SCSS
$custom: #1d1765;
$custom-light: #655592;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1765",
  "rgb": {
    "r": 29,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 244.615,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27538,
    "c": 0.12993,
    "h": 277
  },
  "luminance": 0.01814
}

Semantic roles & 50–950 ramp

primary
#1D1765
secondary
#949B3C
accent
#E642D9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1D1765

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

Preview Lab → · Contrast checker → · Palette generator →

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