#1D2186#1D2186

#1D2186 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.163 H 271.4°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#1D2186
RGBrgb(29, 33, 134)
HSLhsl(238, 64%, 32%)
HSVhsv(238, 78%, 53%)
CMYKcmyk(78.4%, 75.4%, 0%, 47.5%)
CIE-LABlab(20.32, 35.09, -56.25)
CIE-LCHlch(20.32, 66.30, 301.96°)
OKLaboklab(32.79% 0.004 -0.1628)
OKLCHoklch(32.79% 0.163 271.4)
XYZxyz(5.3522, 3.0696, 22.8600)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2186 #86821D
analogous
#1D5686 #1D2186 #4E1D86
triadic
#1D2186 #861D21 #21861D
tetradic
#1D2186 #861D56 #86821D #1D864E
square
#1D2186 #861D56 #86821D #1D864E
split-complementary
#1D2186 #864E1D #56861D
monochromatic
#070821 #121554 #1D2186 #282DB8 #464CD7

Accessibility & contrast

On white

13.01
#1D2186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1D2186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2186
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2186#FFFFFF#000000##FFFFFF
##1D21861.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2186;
/* rgb */ color: rgb(29, 33, 134);
/* oklch */ color: oklch(32.8% 0.163 271.4);
Tailwind
colors: {
  custom: {
    50: '#6c5daa',
    500: '#1d2186',
    950: '#000000',
  },
}
SCSS
$custom: #1d2186;
$custom-light: #6c5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2186",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 237.714,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32786,
    "c": 0.16289,
    "h": 271.4
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#1D2186
secondary
#B9B446
accent
#E140E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2186

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

Preview Lab → · Contrast checker → · Palette generator →

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