#1D2A77#1D2A77

#1D2A77 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.132 H 270.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#1D2A77
RGBrgb(29, 42, 119)
HSLhsl(231, 61%, 29%)
HSVhsv(231, 76%, 47%)
CMYKcmyk(75.6%, 64.7%, 0%, 53.3%)
CIE-LABlab(21.01, 23.50, -45.60)
CIE-LCHlch(21.01, 51.30, 297.27°)
OKLaboklab(32.83% 0 -0.1317)
OKLCHoklch(32.83% 0.132 270)
XYZxyz(4.6633, 3.2486, 17.8305)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A77 #776A1D
analogous
#1D5777 #1D2A77 #3D1D77
triadic
#1D2A77 #771D2A #2A771D
tetradic
#1D2A77 #771D57 #776A1D #1D773D
square
#1D2A77 #771D57 #776A1D #1D773D
split-complementary
#1D2A77 #773D1D #57771D
monochromatic
#060919 #111946 #1D2A77 #293BA8 #3E53D0

Accessibility & contrast

On white

12.73
#1D2A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1D2A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A77
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A77#FFFFFF#000000##FFFFFF
##1D2A771.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#002E76
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2a77;
/* rgb */ color: rgb(29, 42, 119);
/* oklch */ color: oklch(32.8% 0.132 270.0);
Tailwind
colors: {
  custom: {
    50: '#67639f',
    500: '#1d2a77',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a77;
$custom-light: #67639f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a77",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 231.333,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32831,
    "c": 0.13172,
    "h": 270
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#1D2A77
secondary
#AB9C45
accent
#CD44E4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #1D2A77

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

Preview Lab → · Contrast checker → · Palette generator →

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