#1D1868#1D1868

#1D1868 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.133 H 276.3°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#1D1868
RGBrgb(29, 24, 104)
HSLhsl(244, 63%, 25%)
HSVhsv(244, 77%, 41%)
CMYKcmyk(72.1%, 76.9%, 0%, 59.2%)
CIE-LABlab(15.03, 29.89, -45.71)
CIE-LCHlch(15.03, 54.61, 303.18°)
OKLaboklab(28.03% 0.0145 -0.1321)
OKLCHoklch(28.03% 0.133 276.3)
XYZxyz(3.3312, 1.9137, 13.2878)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1868 #636818
analogous
#183B68 #1D1868 #451868
triadic
#1D1868 #681D18 #18681D
tetradic
#1D1868 #68183B #636818 #186845
square
#1D1868 #68183B #636818 #186845
split-complementary
#1D1868 #684518 #3B6818
monochromatic
#070619 #0F0D36 #1D1868 #2B239A #392FCB

Accessibility & contrast

On white

15.19
#1D1868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1D1868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1868
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1868#FFFFFF#000000##FFFFFF
##1D18681.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1868;
/* rgb */ color: rgb(29, 24, 104);
/* oklch */ color: oklch(28.0% 0.133 276.3);
Tailwind
colors: {
  custom: {
    50: '#655694',
    500: '#1d1868',
    950: '#000000',
  },
}
SCSS
$custom: #1d1868;
$custom-light: #655694;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1868",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 243.75,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.2803,
    "c": 0.13288,
    "h": 276.3
  },
  "luminance": 0.01914
}

Semantic roles & 50–950 ramp

primary
#1D1868
secondary
#989E3E
accent
#E642DB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1D1868

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

Preview Lab → · Contrast checker → · Palette generator →

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