#1D2A71#1D2A71

#1D2A71 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.123 H 270.1°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#1D2A71
RGBrgb(29, 42, 113)
HSLhsl(231, 59%, 28%)
HSVhsv(231, 74%, 44%)
CMYKcmyk(74.3%, 62.8%, 0%, 55.7%)
CIE-LABlab(20.48, 21.14, -42.63)
CIE-LCHlch(20.48, 47.59, 296.37°)
OKLaboklab(32.27% 0.0001 -0.123)
OKLCHoklch(32.27% 0.123 270.1)
XYZxyz(4.3143, 3.1090, 15.9923)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A71 #71641D
analogous
#1D5471 #1D2A71 #3A1D71
triadic
#1D2A71 #711D2A #2A711D
tetradic
#1D2A71 #711D54 #71641D #1D713A
square
#1D2A71 #711D54 #71641D #1D713A
split-complementary
#1D2A71 #713A1D #54711D
monochromatic
#060918 #111840 #1D2A71 #293CA2 #3C52CD

Accessibility & contrast

On white

12.95
#1D2A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2A71
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A71#FFFFFF#000000##FFFFFF
##1D2A711.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2a71;
/* rgb */ color: rgb(29, 42, 113);
/* oklch */ color: oklch(32.3% 0.123 270.1);
Tailwind
colors: {
  custom: {
    50: '#66639a',
    500: '#1d2a71',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a71;
$custom-light: #66639a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a71",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 230.714,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32265,
    "c": 0.12301,
    "h": 270.1
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#1D2A71
secondary
#A59644
accent
#CA45E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1D2A71

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

Preview Lab → · Contrast checker → · Palette generator →

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