#1D185D#1D185D

#1D185D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.8% C 0.118 H 278.1°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#1D185D
RGBrgb(29, 24, 93)
HSLhsl(244, 59%, 23%)
HSVhsv(244, 74%, 36%)
CMYKcmyk(68.8%, 74.2%, 0%, 63.5%)
CIE-LABlab(13.85, 25.90, -40.34)
CIE-LCHlch(13.85, 47.94, 302.70°)
OKLaboklab(26.83% 0.0167 -0.1164)
OKLCHoklch(26.83% 0.118 278.1)
XYZxyz(2.8085, 1.7046, 10.5348)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D185D #585D18
analogous
#18355D #1D185D #3F185D
triadic
#1D185D #5D1D18 #185D1D
tetradic
#1D185D #5D1835 #585D18 #185D3F
square
#1D185D #5D1835 #585D18 #185D3F
split-complementary
#1D185D #5D3F18 #355D18
monochromatic
#080618 #0E0B2C #1D185D #2C258E #3B31BE

Accessibility & contrast

On white

15.66
#1D185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1D185D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D185D
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D185D#FFFFFF#000000##FFFFFF
##1D185D1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1d185d;
/* rgb */ color: rgb(29, 24, 93);
/* oklch */ color: oklch(26.8% 0.118 278.1);
Tailwind
colors: {
  custom: {
    50: '#63558c',
    500: '#1d185d',
    950: '#000000',
  },
}
SCSS
$custom: #1d185d;
$custom-light: #63558c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d185d",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 244.348,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26835,
    "c": 0.1176,
    "h": 278.1
  },
  "luminance": 0.01705
}

Semantic roles & 50–950 ramp

primary
#1D185D
secondary
#8D933D
accent
#E246D7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1D185D

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

Preview Lab → · Contrast checker → · Palette generator →

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