#1D2B80#1D2B80

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

Color values

HEX#1D2B80
RGBrgb(29, 43, 128)
HSLhsl(232, 63%, 31%)
HSVhsv(232, 77%, 50%)
CMYKcmyk(77.3%, 66.4%, 0%, 49.8%)
CIE-LABlab(22.11, 26.33, -49.52)
CIE-LCHlch(22.11, 56.08, 298.00°)
OKLaboklab(33.9% -0.001 -0.1432)
OKLCHoklch(33.9% 0.143 269.6)
XYZxyz(5.2655, 3.5469, 20.8250)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B80 #80721D
analogous
#1D5C80 #1D2B80 #401D80
triadic
#1D2B80 #801D2B #2B801D
tetradic
#1D2B80 #801D5C #80721D #1D8040
square
#1D2B80 #801D5C #80721D #1D8040
split-complementary
#1D2B80 #80401D #5C801D
monochromatic
#06091C #121A4E #1D2B80 #283CB2 #4358D4

Accessibility & contrast

On white

12.29
#1D2B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2B80
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B80#FFFFFF#000000##FFFFFF
##1D2B801.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2b80;
/* rgb */ color: rgb(29, 43, 128);
/* oklch */ color: oklch(33.9% 0.143 269.6);
Tailwind
colors: {
  custom: {
    50: '#6a64a6',
    500: '#1d2b80',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b80;
$custom-light: #6a64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b80",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 231.515,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33899,
    "c": 0.14319,
    "h": 269.6
  },
  "luminance": 0.03547
}

Semantic roles & 50–950 ramp

primary
#1D2B80
secondary
#B3A445
accent
#CF42E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1D2B80

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

Preview Lab → · Contrast checker → · Palette generator →

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