#1D2C79#1D2C79

#1D2C79 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.132 H 269.3°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#1D2C79
RGBrgb(29, 44, 121)
HSLhsl(230, 61%, 29%)
HSVhsv(230, 76%, 47%)
CMYKcmyk(76%, 63.6%, 0%, 52.5%)
CIE-LABlab(21.74, 22.90, -45.70)
CIE-LCHlch(21.74, 51.11, 296.61°)
OKLaboklab(33.42% -0.0015 -0.132)
OKLCHoklch(33.42% 0.132 269.3)
XYZxyz(4.8574, 3.4425, 18.4939)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C79 #796A1D
analogous
#1D5A79 #1D2C79 #3C1D79
triadic
#1D2C79 #791D2C #2C791D
tetradic
#1D2C79 #791D5A #796A1D #1D793C
square
#1D2C79 #791D5A #796A1D #1D793C
split-complementary
#1D2C79 #793C1D #5A791D
monochromatic
#060919 #111A48 #1D2C79 #293EAA #3F57D1

Accessibility & contrast

On white

12.44
#1D2C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1D2C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C79
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C79#FFFFFF#000000##FFFFFF
##1D2C791.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2c79;
/* rgb */ color: rgb(29, 44, 121);
/* oklch */ color: oklch(33.4% 0.132 269.3);
Tailwind
colors: {
  custom: {
    50: '#6865a0',
    500: '#1d2c79',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c79;
$custom-light: #6865a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c79",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 230.217,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33421,
    "c": 0.13199,
    "h": 269.3
  },
  "luminance": 0.03443
}

Semantic roles & 50–950 ramp

primary
#1D2C79
secondary
#AD9C45
accent
#CA43E4
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1D2C79

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

Preview Lab → · Contrast checker → · Palette generator →

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