#1D2A72#1D2A72

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

Color values

HEX#1D2A72
RGBrgb(29, 42, 114)
HSLhsl(231, 59%, 28%)
HSVhsv(231, 75%, 45%)
CMYKcmyk(74.6%, 63.2%, 0%, 55.3%)
CIE-LABlab(20.56, 21.53, -43.13)
CIE-LCHlch(20.56, 48.21, 296.53°)
OKLaboklab(32.36% 0.0001 -0.1245)
OKLCHoklch(32.36% 0.124 270.1)
XYZxyz(4.3709, 3.1316, 16.2904)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A72 #72651D
analogous
#1D5472 #1D2A72 #3B1D72
triadic
#1D2A72 #721D2A #2A721D
tetradic
#1D2A72 #721D54 #72651D #1D723B
square
#1D2A72 #721D54 #72651D #1D723B
split-complementary
#1D2A72 #723B1D #54721D
monochromatic
#060918 #111841 #1D2A72 #293CA3 #3C52CD

Accessibility & contrast

On white

12.91
#1D2A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1D2A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A72
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A72#FFFFFF#000000##FFFFFF
##1D2A721.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2a72;
/* rgb */ color: rgb(29, 42, 114);
/* oklch */ color: oklch(32.4% 0.124 270.1);
Tailwind
colors: {
  custom: {
    50: '#66639b',
    500: '#1d2a72',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a72;
$custom-light: #66639b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a72",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 230.824,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32359,
    "c": 0.12448,
    "h": 270.1
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#1D2A72
secondary
#A69745
accent
#CB45E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1D2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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