#1D2779#1D2779

#1D2779 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.138 H 270.9°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#1D2779
RGBrgb(29, 39, 121)
HSLhsl(233, 61%, 29%)
HSVhsv(233, 76%, 47%)
CMYKcmyk(76%, 67.8%, 0%, 52.5%)
CIE-LABlab(20.41, 26.35, -47.87)
CIE-LCHlch(20.41, 54.64, 298.83°)
OKLaboklab(32.45% 0.0021 -0.1384)
OKLCHoklch(32.45% 0.138 270.9)
XYZxyz(4.6822, 3.0922, 18.4356)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2779 #796F1D
analogous
#1D5579 #1D2779 #411D79
triadic
#1D2779 #791D27 #27791D
tetradic
#1D2779 #791D55 #796F1D #1D7941
square
#1D2779 #791D55 #796F1D #1D7941
split-complementary
#1D2779 #79411D #55791D
monochromatic
#060819 #111748 #1D2779 #2937AA #3F4FD1

Accessibility & contrast

On white

12.97
#1D2779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D2779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2779
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2779#FFFFFF#000000##FFFFFF
##1D27791.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2779;
/* rgb */ color: rgb(29, 39, 121);
/* oklch */ color: oklch(32.4% 0.138 270.9);
Tailwind
colors: {
  custom: {
    50: '#6861a1',
    500: '#1d2779',
    950: '#000000',
  },
}
SCSS
$custom: #1d2779;
$custom-light: #6861a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2779",
  "rgb": {
    "r": 29,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 233.478,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32445,
    "c": 0.1384,
    "h": 270.9
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#1D2779
secondary
#ADA245
accent
#D343E4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1D2779

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

Preview Lab → · Contrast checker → · Palette generator →

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