#1D2D77#1D2D77

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

Color values

HEX#1D2D77
RGBrgb(29, 45, 119)
HSLhsl(229, 61%, 29%)
HSVhsv(229, 76%, 47%)
CMYKcmyk(75.6%, 62.2%, 0%, 53.3%)
CIE-LABlab(21.83, 21.40, -44.27)
CIE-LCHlch(21.83, 49.17, 295.80°)
OKLaboklab(33.44% -0.0023 -0.1278)
OKLCHoklch(33.44% 0.128 269)
XYZxyz(4.7737, 3.4694, 17.8673)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D77 #77671D
analogous
#1D5A77 #1D2D77 #3A1D77
triadic
#1D2D77 #771D2D #2D771D
tetradic
#1D2D77 #771D5A #77671D #1D773A
square
#1D2D77 #771D5A #77671D #1D773A
split-complementary
#1D2D77 #773A1D #5A771D
monochromatic
#060919 #111A46 #1D2D77 #2940A8 #3E58D0

Accessibility & contrast

On white

12.40
#1D2D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1D2D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D77
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D77#FFFFFF#000000##FFFFFF
##1D2D771.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2d77;
/* rgb */ color: rgb(29, 45, 119);
/* oklch */ color: oklch(33.4% 0.128 269.0);
Tailwind
colors: {
  custom: {
    50: '#67659f',
    500: '#1d2d77',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d77;
$custom-light: #67659f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d77",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 229.333,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33439,
    "c": 0.12778,
    "h": 269
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#1D2D77
secondary
#AB9945
accent
#C744E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1D2D77

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

Preview Lab → · Contrast checker → · Palette generator →

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