#1D2A80#1D2A80

#1D2A80 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.144 H 269.9°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#1D2A80
RGBrgb(29, 42, 128)
HSLhsl(232, 63%, 31%)
HSVhsv(232, 77%, 50%)
CMYKcmyk(77.3%, 67.2%, 0%, 49.8%)
CIE-LABlab(21.85, 27.01, -49.94)
CIE-LCHlch(21.85, 56.78, 298.40°)
OKLaboklab(33.71% -0.0004 -0.1444)
OKLCHoklch(33.71% 0.144 269.9)
XYZxyz(5.2296, 3.4751, 20.8130)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A80 #80731D
analogous
#1D5B80 #1D2A80 #411D80
triadic
#1D2A80 #801D2A #2A801D
tetradic
#1D2A80 #801D5B #80731D #1D8041
square
#1D2A80 #801D5B #80731D #1D8041
split-complementary
#1D2A80 #80411D #5B801D
monochromatic
#06091C #121A4E #1D2A80 #283AB2 #4356D4

Accessibility & contrast

On white

12.39
#1D2A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1D2A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A80
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A80#FFFFFF#000000##FFFFFF
##1D2A801.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2a80;
/* rgb */ color: rgb(29, 42, 128);
/* oklch */ color: oklch(33.7% 0.144 269.9);
Tailwind
colors: {
  custom: {
    50: '#6a63a6',
    500: '#1d2a80',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a80;
$custom-light: #6a63a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a80",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 232.121,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33709,
    "c": 0.14444,
    "h": 269.9
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#1D2A80
secondary
#B3A545
accent
#D142E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1D2A80

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

Preview Lab → · Contrast checker → · Palette generator →

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