#1D2B79#1D2B79

#1D2B79 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.133 H 269.7°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#1D2B79
RGBrgb(29, 43, 121)
HSLhsl(231, 61%, 29%)
HSVhsv(231, 76%, 47%)
CMYKcmyk(76%, 64.5%, 0%, 52.5%)
CIE-LABlab(21.46, 23.59, -46.14)
CIE-LCHlch(21.46, 51.82, 297.08°)
OKLaboklab(33.22% -0.0008 -0.1333)
OKLCHoklch(33.22% 0.133 269.7)
XYZxyz(4.8206, 3.3689, 18.4817)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B79 #796B1D
analogous
#1D5979 #1D2B79 #3D1D79
triadic
#1D2B79 #791D2B #2B791D
tetradic
#1D2B79 #791D59 #796B1D #1D793D
square
#1D2B79 #791D59 #796B1D #1D793D
split-complementary
#1D2B79 #793D1D #59791D
monochromatic
#060919 #111948 #1D2B79 #293DAA #3F56D1

Accessibility & contrast

On white

12.55
#1D2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1D2B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B79
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B79#FFFFFF#000000##FFFFFF
##1D2B791.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2b79;
/* rgb */ color: rgb(29, 43, 121);
/* oklch */ color: oklch(33.2% 0.133 269.7);
Tailwind
colors: {
  custom: {
    50: '#6864a0',
    500: '#1d2b79',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b79;
$custom-light: #6864a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b79",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 230.87,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33221,
    "c": 0.13329,
    "h": 269.7
  },
  "luminance": 0.03369
}

Semantic roles & 50–950 ramp

primary
#1D2B79
secondary
#AD9D45
accent
#CC43E4
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1D2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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