#1D2C80#1D2C80

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

Color values

HEX#1D2C80
RGBrgb(29, 44, 128)
HSLhsl(231, 63%, 31%)
HSVhsv(231, 77%, 50%)
CMYKcmyk(77.3%, 65.6%, 0%, 49.8%)
CIE-LABlab(22.37, 25.64, -49.09)
CIE-LCHlch(22.37, 55.38, 297.58°)
OKLaboklab(34.09% -0.0017 -0.1419)
OKLCHoklch(34.09% 0.142 269.3)
XYZxyz(5.3023, 3.6205, 20.8373)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C80 #80711D
analogous
#1D5D80 #1D2C80 #3F1D80
triadic
#1D2C80 #801D2C #2C801D
tetradic
#1D2C80 #801D5D #80711D #1D803F
square
#1D2C80 #801D5D #80711D #1D803F
split-complementary
#1D2C80 #803F1D #5D801D
monochromatic
#060A1C #121B4E #1D2C80 #283DB2 #4359D4

Accessibility & contrast

On white

12.18
#1D2C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2C80
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C80#FFFFFF#000000##FFFFFF
##1D2C801.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2c80;
/* rgb */ color: rgb(29, 44, 128);
/* oklch */ color: oklch(34.1% 0.142 269.3);
Tailwind
colors: {
  custom: {
    50: '#6a65a6',
    500: '#1d2c80',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c80;
$custom-light: #6a65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c80",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 230.909,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34091,
    "c": 0.14193,
    "h": 269.3
  },
  "luminance": 0.03621
}

Semantic roles & 50–950 ramp

primary
#1D2C80
secondary
#B3A345
accent
#CD42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1D2C80

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

Preview Lab → · Contrast checker → · Palette generator →

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