#1D2C71#1D2C71

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

Color values

HEX#1D2C71
RGBrgb(29, 44, 113)
HSLhsl(229, 59%, 28%)
HSVhsv(229, 74%, 44%)
CMYKcmyk(74.3%, 61.1%, 0%, 55.7%)
CIE-LABlab(21.04, 19.72, -41.72)
CIE-LCHlch(21.04, 46.15, 295.30°)
OKLaboklab(32.68% -0.0015 -0.1203)
OKLCHoklch(32.68% 0.12 269.3)
XYZxyz(4.3870, 3.2544, 16.0165)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C71 #71621D
analogous
#1D5671 #1D2C71 #381D71
triadic
#1D2C71 #711D2C #2C711D
tetradic
#1D2C71 #711D56 #71621D #1D7138
square
#1D2C71 #711D56 #71621D #1D7138
split-complementary
#1D2C71 #71381D #56711D
monochromatic
#060918 #111940 #1D2C71 #293FA2 #3C56CD

Accessibility & contrast

On white

12.72
#1D2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1D2C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C71
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C71#FFFFFF#000000##FFFFFF
##1D2C711.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2c71;
/* rgb */ color: rgb(29, 44, 113);
/* oklch */ color: oklch(32.7% 0.120 269.3);
Tailwind
colors: {
  custom: {
    50: '#66649a',
    500: '#1d2c71',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c71;
$custom-light: #66649a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c71",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 229.286,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32682,
    "c": 0.12031,
    "h": 269.3
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#1D2C71
secondary
#A59444
accent
#C645E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1D2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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