#1D2185#1D2185

#1D2185 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.162 H 271.5°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#1D2185
RGBrgb(29, 33, 133)
HSLhsl(238, 64%, 32%)
HSVhsv(238, 78%, 52%)
CMYKcmyk(78.2%, 75.2%, 0%, 47.8%)
CIE-LABlab(20.21, 34.73, -55.80)
CIE-LCHlch(20.21, 65.73, 301.90°)
OKLaboklab(32.67% 0.0041 -0.1615)
OKLCHoklch(32.67% 0.162 271.5)
XYZxyz(5.2828, 3.0418, 22.4945)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2185 #85811D
analogous
#1D5585 #1D2185 #4D1D85
triadic
#1D2185 #851D21 #21851D
tetradic
#1D2185 #851D55 #85811D #1D854D
square
#1D2185 #851D55 #85811D #1D854D
split-complementary
#1D2185 #854D1D #55851D
monochromatic
#070821 #121553 #1D2185 #282DB7 #464BD7

Accessibility & contrast

On white

13.06
#1D2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2185
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2185#FFFFFF#000000##FFFFFF
##1D21851.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2185;
/* rgb */ color: rgb(29, 33, 133);
/* oklch */ color: oklch(32.7% 0.162 271.5);
Tailwind
colors: {
  custom: {
    50: '#6c5daa',
    500: '#1d2185',
    950: '#000000',
  },
}
SCSS
$custom: #1d2185;
$custom-light: #6c5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2185",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 237.692,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32675,
    "c": 0.16159,
    "h": 271.5
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

primary
#1D2185
secondary
#B8B446
accent
#E141E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2185

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

Preview Lab → · Contrast checker → · Palette generator →

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