#1D2A82#1D2A82

#1D2A82 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.147 H 269.8°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#1D2A82
RGBrgb(29, 42, 130)
HSLhsl(232, 64%, 31%)
HSVhsv(232, 78%, 51%)
CMYKcmyk(77.7%, 67.7%, 0%, 49%)
CIE-LABlab(22.05, 27.78, -50.89)
CIE-LCHlch(22.05, 57.98, 298.63°)
OKLaboklab(33.91% -0.0005 -0.1472)
OKLCHoklch(33.91% 0.147 269.8)
XYZxyz(5.3625, 3.5283, 21.5132)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A82 #82751D
analogous
#1D5C82 #1D2A82 #421D82
triadic
#1D2A82 #821D2A #2A821D
tetradic
#1D2A82 #821D5C #82751D #1D8242
square
#1D2A82 #821D5C #82751D #1D8242
split-complementary
#1D2A82 #82421D #5C821D
monochromatic
#070A1E #121A50 #1D2A82 #283AB4 #4457D5

Accessibility & contrast

On white

12.31
#1D2A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1D2A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A82
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A82#FFFFFF#000000##FFFFFF
##1D2A821.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2a82;
/* rgb */ color: rgb(29, 42, 130);
/* oklch */ color: oklch(33.9% 0.147 269.8);
Tailwind
colors: {
  custom: {
    50: '#6a63a7',
    500: '#1d2a82',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a82;
$custom-light: #6a63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a82",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 232.277,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33908,
    "c": 0.14721,
    "h": 269.8
  },
  "luminance": 0.03529
}

Semantic roles & 50–950 ramp

primary
#1D2A82
secondary
#B5A746
accent
#D141E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1D2A82

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

Preview Lab → · Contrast checker → · Palette generator →

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