#1D186B#1D186B

#1D186B is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.137 H 275.8°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#1D186B
RGBrgb(29, 24, 107)
HSLhsl(244, 63%, 26%)
HSVhsv(244, 78%, 42%)
CMYKcmyk(72.9%, 77.6%, 0%, 58%)
CIE-LABlab(15.36, 30.96, -47.13)
CIE-LCHlch(15.36, 56.39, 303.30°)
OKLaboklab(28.37% 0.0139 -0.1362)
OKLCHoklch(28.37% 0.137 275.8)
XYZxyz(3.4863, 1.9757, 14.1047)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D186B #666B18
analogous
#183C6B #1D186B #46186B
triadic
#1D186B #6B1D18 #186B1D
tetradic
#1D186B #6B183C #666B18 #186B46
square
#1D186B #6B183C #666B18 #186B46
split-complementary
#1D186B #6B4618 #3C6B18
monochromatic
#070619 #0F0D39 #1D186B #2B239D #382ECF

Accessibility & contrast

On white

15.05
#1D186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1D186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D186B
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D186B#FFFFFF#000000##FFFFFF
##1D186B1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6D
Deuteranopia (green-blind)
#00236A
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1d186b;
/* rgb */ color: rgb(29, 24, 107);
/* oklch */ color: oklch(28.4% 0.137 275.8);
Tailwind
colors: {
  custom: {
    50: '#665696',
    500: '#1d186b',
    950: '#000000',
  },
}
SCSS
$custom: #1d186b;
$custom-light: #665696;
$custom-dark: #000000;
JSON
{
  "hex": "#1d186b",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 243.614,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28365,
    "c": 0.13693,
    "h": 275.8
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#1D186B
secondary
#9BA13E
accent
#E641DC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1D186B

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

Preview Lab → · Contrast checker → · Palette generator →

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