#1D2B82#1D2B82

#1D2B82 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.146 H 269.6°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#1D2B82
RGBrgb(29, 43, 130)
HSLhsl(232, 64%, 31%)
HSVhsv(232, 78%, 51%)
CMYKcmyk(77.7%, 66.9%, 0%, 49%)
CIE-LABlab(22.30, 27.10, -50.47)
CIE-LCHlch(22.30, 57.28, 298.23°)
OKLaboklab(34.1% -0.0011 -0.146)
OKLCHoklch(34.1% 0.146 269.6)
XYZxyz(5.3985, 3.6001, 21.5251)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B82 #82741D
analogous
#1D5D82 #1D2B82 #411D82
triadic
#1D2B82 #821D2B #2B821D
tetradic
#1D2B82 #821D5D #82741D #1D8241
square
#1D2B82 #821D5D #82741D #1D8241
split-complementary
#1D2B82 #82411D #5D821D
monochromatic
#070A1E #121A50 #1D2B82 #283CB4 #4458D5

Accessibility & contrast

On white

12.21
#1D2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1D2B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B82
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B82#FFFFFF#000000##FFFFFF
##1D2B821.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003180
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2b82;
/* rgb */ color: rgb(29, 43, 130);
/* oklch */ color: oklch(34.1% 0.146 269.6);
Tailwind
colors: {
  custom: {
    50: '#6a64a7',
    500: '#1d2b82',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b82;
$custom-light: #6a64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b82",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 231.683,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34096,
    "c": 0.14597,
    "h": 269.6
  },
  "luminance": 0.03601
}

Semantic roles & 50–950 ramp

primary
#1D2B82
secondary
#B5A646
accent
#D041E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1D2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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