#1D2579#1D2579

#1D2579 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.141 H 271.4°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#1D2579
RGBrgb(29, 37, 121)
HSLhsl(235, 61%, 29%)
HSVhsv(235, 76%, 47%)
CMYKcmyk(76%, 69.4%, 0%, 52.5%)
CIE-LABlab(19.90, 27.71, -48.70)
CIE-LCHlch(19.90, 56.04, 299.64°)
OKLaboklab(32.07% 0.0035 -0.1408)
OKLCHoklch(32.07% 0.141 271.4)
XYZxyz(4.6183, 2.9643, 18.4142)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2579 #79711D
analogous
#1D5379 #1D2579 #431D79
triadic
#1D2579 #791D25 #25791D
tetradic
#1D2579 #791D53 #79711D #1D7943
square
#1D2579 #791D53 #79711D #1D7943
split-complementary
#1D2579 #79431D #53791D
monochromatic
#060819 #111648 #1D2579 #2934AA #3F4CD1

Accessibility & contrast

On white

13.18
#1D2579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1D2579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2579
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2579#FFFFFF#000000##FFFFFF
##1D25791.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2579;
/* rgb */ color: rgb(29, 37, 121);
/* oklch */ color: oklch(32.1% 0.141 271.4);
Tailwind
colors: {
  custom: {
    50: '#685fa1',
    500: '#1d2579',
    950: '#000000',
  },
}
SCSS
$custom: #1d2579;
$custom-light: #685fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2579",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 234.783,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32074,
    "c": 0.14088,
    "h": 271.4
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#1D2579
secondary
#ADA445
accent
#D643E4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1D2579

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

Preview Lab → · Contrast checker → · Palette generator →

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