#1D2184#1D2184

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

Color values

HEX#1D2184
RGBrgb(29, 33, 132)
HSLhsl(238, 64%, 32%)
HSVhsv(238, 78%, 52%)
CMYKcmyk(78%, 75%, 0%, 48.2%)
CIE-LABlab(20.10, 34.37, -55.35)
CIE-LCHlch(20.10, 65.16, 301.84°)
OKLaboklab(32.56% 0.0043 -0.1602)
OKLCHoklch(32.56% 0.16 271.5)
XYZxyz(5.2140, 3.0143, 22.1323)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2184 #84801D
analogous
#1D5584 #1D2184 #4D1D84
triadic
#1D2184 #841D21 #21841D
tetradic
#1D2184 #841D55 #84801D #1D844D
square
#1D2184 #841D55 #84801D #1D844D
split-complementary
#1D2184 #844D1D #55841D
monochromatic
#070820 #121452 #1D2184 #282EB6 #454BD6

Accessibility & contrast

On white

13.10
#1D2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1D2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2184
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2184#FFFFFF#000000##FFFFFF
##1D21841.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2184;
/* rgb */ color: rgb(29, 33, 132);
/* oklch */ color: oklch(32.6% 0.160 271.5);
Tailwind
colors: {
  custom: {
    50: '#6c5da9',
    500: '#1d2184',
    950: '#000000',
  },
}
SCSS
$custom: #1d2184;
$custom-light: #6c5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2184",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 237.67,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32564,
    "c": 0.16029,
    "h": 271.5
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D2184

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

Preview Lab → · Contrast checker → · Palette generator →

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