#1D2D79#1D2D79

#1D2D79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.131 H 269.0°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#1D2D79
RGBrgb(29, 45, 121)
HSLhsl(230, 61%, 29%)
HSVhsv(230, 76%, 47%)
CMYKcmyk(76%, 62.8%, 0%, 52.5%)
CIE-LABlab(22.01, 22.20, -45.25)
CIE-LCHlch(22.01, 50.40, 296.13°)
OKLaboklab(33.62% -0.0023 -0.1307)
OKLCHoklch(33.62% 0.131 269)
XYZxyz(4.8951, 3.5179, 18.5065)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D79 #79691D
analogous
#1D5B79 #1D2D79 #3B1D79
triadic
#1D2D79 #791D2D #2D791D
tetradic
#1D2D79 #791D5B #79691D #1D793B
square
#1D2D79 #791D5B #79691D #1D793B
split-complementary
#1D2D79 #793B1D #5B791D
monochromatic
#060919 #111B48 #1D2D79 #293FAA #3F59D1

Accessibility & contrast

On white

12.33
#1D2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1D2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D79
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D79#FFFFFF#000000##FFFFFF
##1D2D791.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2d79;
/* rgb */ color: rgb(29, 45, 121);
/* oklch */ color: oklch(33.6% 0.131 269.0);
Tailwind
colors: {
  custom: {
    50: '#6865a0',
    500: '#1d2d79',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d79;
$custom-light: #6865a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d79",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 229.565,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33624,
    "c": 0.13068,
    "h": 269
  },
  "luminance": 0.03518
}

Semantic roles & 50–950 ramp

primary
#1D2D79
secondary
#AD9B45
accent
#C843E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #1D2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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