#1D1768#1D1768

#1D1768 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.134 H 276.5°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#1D1768
RGBrgb(29, 23, 104)
HSLhsl(244, 64%, 25%)
HSVhsv(244, 78%, 41%)
CMYKcmyk(72.1%, 77.9%, 0%, 59.2%)
CIE-LABlab(14.81, 30.51, -46.07)
CIE-LCHlch(14.81, 55.26, 303.51°)
OKLaboklab(27.87% 0.0152 -0.1331)
OKLCHoklch(27.87% 0.134 276.5)
XYZxyz(3.3110, 1.8732, 13.2811)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1768 #626817
analogous
#173A68 #1D1768 #451768
triadic
#1D1768 #681D17 #17681D
tetradic
#1D1768 #68173A #626817 #176845
square
#1D1768 #68173A #626817 #176845
split-complementary
#1D1768 #684517 #3A6817
monochromatic
#070619 #0F0C36 #1D1768 #2B229A #392DCC

Accessibility & contrast

On white

15.28
#1D1768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1D1768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1768
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1768#FFFFFF#000000##FFFFFF
##1D17681.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002267
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1d1768;
/* rgb */ color: rgb(29, 23, 104);
/* oklch */ color: oklch(27.9% 0.134 276.5);
Tailwind
colors: {
  custom: {
    50: '#655594',
    500: '#1d1768',
    950: '#000000',
  },
}
SCSS
$custom: #1d1768;
$custom-light: #655594;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1768",
  "rgb": {
    "r": 29,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 244.444,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27873,
    "c": 0.13399,
    "h": 276.5
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#1D1768
secondary
#979E3D
accent
#E741DB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1D1768

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

Preview Lab → · Contrast checker → · Palette generator →

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