#1D2A79#1D2A79

#1D2A79 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.135 H 270.0°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#1D2A79
RGBrgb(29, 42, 121)
HSLhsl(232, 61%, 29%)
HSVhsv(232, 76%, 47%)
CMYKcmyk(76%, 65.3%, 0%, 52.5%)
CIE-LABlab(21.20, 24.29, -46.58)
CIE-LCHlch(21.20, 52.53, 297.54°)
OKLaboklab(33.02% 0 -0.1346)
OKLCHoklch(33.02% 0.135 270)
XYZxyz(4.7847, 3.2971, 18.4697)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A79 #796C1D
analogous
#1D5879 #1D2A79 #3E1D79
triadic
#1D2A79 #791D2A #2A791D
tetradic
#1D2A79 #791D58 #796C1D #1D793E
square
#1D2A79 #791D58 #796C1D #1D793E
split-complementary
#1D2A79 #793E1D #58791D
monochromatic
#060919 #111948 #1D2A79 #293BAA #3F54D1

Accessibility & contrast

On white

12.65
#1D2A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2A79
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A79#FFFFFF#000000##FFFFFF
##1D2A791.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2a79;
/* rgb */ color: rgb(29, 42, 121);
/* oklch */ color: oklch(33.0% 0.135 270.0);
Tailwind
colors: {
  custom: {
    50: '#6863a0',
    500: '#1d2a79',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a79;
$custom-light: #6863a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a79",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 231.522,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33023,
    "c": 0.13459,
    "h": 270
  },
  "luminance": 0.03298
}

Semantic roles & 50–950 ramp

primary
#1D2A79
secondary
#AD9E45
accent
#CE43E4
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1D2A79

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

Preview Lab → · Contrast checker → · Palette generator →

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