#1D2182#1D2182

#1D2182 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.158 H 271.7°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#1D2182
RGBrgb(29, 33, 130)
HSLhsl(238, 64%, 31%)
HSVhsv(238, 78%, 51%)
CMYKcmyk(77.7%, 74.6%, 0%, 49%)
CIE-LABlab(19.88, 33.65, -54.45)
CIE-LCHlch(19.88, 64.01, 301.72°)
OKLaboklab(32.34% 0.0046 -0.1576)
OKLCHoklch(32.34% 0.158 271.7)
XYZxyz(5.0785, 2.9601, 21.4185)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2182 #827E1D
analogous
#1D5382 #1D2182 #4B1D82
triadic
#1D2182 #821D21 #21821D
tetradic
#1D2182 #821D53 #827E1D #1D824B
square
#1D2182 #821D53 #827E1D #1D824B
split-complementary
#1D2182 #824B1D #53821D
monochromatic
#07081E #121450 #1D2182 #282EB4 #444AD5

Accessibility & contrast

On white

13.19
#1D2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1D2182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2182
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2182#FFFFFF#000000##FFFFFF
##1D21821.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002B80
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2182;
/* rgb */ color: rgb(29, 33, 130);
/* oklch */ color: oklch(32.3% 0.158 271.7);
Tailwind
colors: {
  custom: {
    50: '#6b5da7',
    500: '#1d2182',
    950: '#000000',
  },
}
SCSS
$custom: #1d2182;
$custom-light: #6b5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2182",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 237.624,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32343,
    "c": 0.15767,
    "h": 271.7
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#1D2182
secondary
#B5B146
accent
#E041E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2182

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

Preview Lab → · Contrast checker → · Palette generator →

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