#1D2C72#1D2C72

#1D2C72 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.122 H 269.3°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#1D2C72
RGBrgb(29, 44, 114)
HSLhsl(229, 59%, 28%)
HSVhsv(229, 75%, 45%)
CMYKcmyk(74.6%, 61.4%, 0%, 55.3%)
CIE-LABlab(21.12, 20.12, -42.23)
CIE-LCHlch(21.12, 46.77, 295.48°)
OKLaboklab(32.77% -0.0015 -0.1218)
OKLCHoklch(32.77% 0.122 269.3)
XYZxyz(4.4436, 3.2770, 16.3147)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C72 #72631D
analogous
#1D5672 #1D2C72 #381D72
triadic
#1D2C72 #721D2C #2C721D
tetradic
#1D2C72 #721D56 #72631D #1D7238
square
#1D2C72 #721D56 #72631D #1D7238
split-complementary
#1D2C72 #72381D #56721D
monochromatic
#060918 #111941 #1D2C72 #293FA3 #3C56CD

Accessibility & contrast

On white

12.69
#1D2C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1D2C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C72
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C72#FFFFFF#000000##FFFFFF
##1D2C721.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2c72;
/* rgb */ color: rgb(29, 44, 114);
/* oklch */ color: oklch(32.8% 0.122 269.3);
Tailwind
colors: {
  custom: {
    50: '#66649b',
    500: '#1d2c72',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c72;
$custom-light: #66649b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c72",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 229.412,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32773,
    "c": 0.12179,
    "h": 269.3
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#1D2C72
secondary
#A69545
accent
#C745E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1D2C72

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

Preview Lab → · Contrast checker → · Palette generator →

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