#1D186A#1D186A

#1D186A is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.136 H 276.0°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#1D186A
RGBrgb(29, 24, 106)
HSLhsl(244, 63%, 25%)
HSVhsv(244, 77%, 42%)
CMYKcmyk(72.6%, 77.4%, 0%, 58.4%)
CIE-LABlab(15.25, 30.60, -46.66)
CIE-LCHlch(15.25, 55.80, 303.26°)
OKLaboklab(28.25% 0.0141 -0.1348)
OKLCHoklch(28.25% 0.136 276)
XYZxyz(3.4340, 1.9548, 13.8292)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D186A #656A18
analogous
#183C6A #1D186A #46186A
triadic
#1D186A #6A1D18 #186A1D
tetradic
#1D186A #6A183C #656A18 #186A46
square
#1D186A #6A183C #656A18 #186A46
split-complementary
#1D186A #6A4618 #3C6A18
monochromatic
#070619 #0F0D38 #1D186A #2B239C #382FCE

Accessibility & contrast

On white

15.10
#1D186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1D186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D186A
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D186A#FFFFFF#000000##FFFFFF
##1D186A1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002369
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1d186a;
/* rgb */ color: rgb(29, 24, 106);
/* oklch */ color: oklch(28.3% 0.136 276.0);
Tailwind
colors: {
  custom: {
    50: '#665696',
    500: '#1d186a',
    950: '#000000',
  },
}
SCSS
$custom: #1d186a;
$custom-light: #665696;
$custom-dark: #000000;
JSON
{
  "hex": "#1d186a",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 243.659,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28253,
    "c": 0.13559,
    "h": 276
  },
  "luminance": 0.01955
}

Semantic roles & 50–950 ramp

primary
#1D186A
secondary
#9AA03E
accent
#E642DC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1D186A

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

Preview Lab → · Contrast checker → · Palette generator →

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