#1D2C82#1D2C82

#1D2C82 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.145 H 269.3°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#1D2C82
RGBrgb(29, 44, 130)
HSLhsl(231, 64%, 31%)
HSVhsv(231, 78%, 51%)
CMYKcmyk(77.7%, 66.2%, 0%, 49%)
CIE-LABlab(22.56, 26.42, -50.04)
CIE-LCHlch(22.56, 56.59, 297.83°)
OKLaboklab(34.29% -0.0018 -0.1447)
OKLCHoklch(34.29% 0.145 269.3)
XYZxyz(5.4353, 3.6737, 21.5374)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C82 #82731D
analogous
#1D5E82 #1D2C82 #401D82
triadic
#1D2C82 #821D2C #2C821D
tetradic
#1D2C82 #821D5E #82731D #1D8240
square
#1D2C82 #821D5E #82731D #1D8240
split-complementary
#1D2C82 #82401D #5E821D
monochromatic
#070A1E #121B50 #1D2C82 #283DB4 #445AD5

Accessibility & contrast

On white

12.11
#1D2C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1D2C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C82
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C82#FFFFFF#000000##FFFFFF
##1D2C821.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003180
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2c82;
/* rgb */ color: rgb(29, 44, 130);
/* oklch */ color: oklch(34.3% 0.145 269.3);
Tailwind
colors: {
  custom: {
    50: '#6a65a7',
    500: '#1d2c82',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c82;
$custom-light: #6a65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c82",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 231.089,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34286,
    "c": 0.14473,
    "h": 269.3
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#1D2C82
secondary
#B5A546
accent
#CE41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F

Preview Lab

Preview with #1D2C82

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

Preview Lab → · Contrast checker → · Palette generator →

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