#1D2E79#1D2E79

#1D2E79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.129 H 268.7°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#1D2E79
RGBrgb(29, 46, 121)
HSLhsl(229, 61%, 29%)
HSVhsv(229, 76%, 47%)
CMYKcmyk(76%, 62%, 0%, 52.5%)
CIE-LABlab(22.29, 21.49, -44.80)
CIE-LCHlch(22.29, 49.69, 295.63°)
OKLaboklab(33.83% -0.003 -0.1293)
OKLCHoklch(33.83% 0.129 268.7)
XYZxyz(4.9337, 3.5952, 18.5194)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E79 #79681D
analogous
#1D5C79 #1D2E79 #3A1D79
triadic
#1D2E79 #791D2E #2E791D
tetradic
#1D2E79 #791D5C #79681D #1D793A
square
#1D2E79 #791D5C #79681D #1D793A
split-complementary
#1D2E79 #793A1D #5C791D
monochromatic
#060919 #111B48 #1D2E79 #2941AA #3F5AD1

Accessibility & contrast

On white

12.21
#1D2E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1D2E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E79
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E79#FFFFFF#000000##FFFFFF
##1D2E791.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2e79;
/* rgb */ color: rgb(29, 46, 121);
/* oklch */ color: oklch(33.8% 0.129 268.7);
Tailwind
colors: {
  custom: {
    50: '#6866a0',
    500: '#1d2e79',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e79;
$custom-light: #6866a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e79",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 228.913,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33829,
    "c": 0.12936,
    "h": 268.7
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#1D2E79
secondary
#AD9A45
accent
#C743E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1D2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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