#1D2A73#1D2A73

#1D2A73 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.126 H 270.1°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#1D2A73
RGBrgb(29, 42, 115)
HSLhsl(231, 60%, 28%)
HSVhsv(231, 75%, 45%)
CMYKcmyk(74.8%, 63.5%, 0%, 54.9%)
CIE-LABlab(20.65, 21.93, -43.63)
CIE-LCHlch(20.65, 48.83, 296.68°)
OKLaboklab(32.45% 0.0001 -0.1259)
OKLCHoklch(32.45% 0.126 270.1)
XYZxyz(4.4281, 3.1545, 16.5918)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A73 #73661D
analogous
#1D5573 #1D2A73 #3B1D73
triadic
#1D2A73 #731D2A #2A731D
tetradic
#1D2A73 #731D55 #73661D #1D733B
square
#1D2A73 #731D55 #73661D #1D733B
split-complementary
#1D2A73 #733B1D #55731D
monochromatic
#060918 #111842 #1D2A73 #293CA4 #3C52CE

Accessibility & contrast

On white

12.88
#1D2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2A73
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A73#FFFFFF#000000##FFFFFF
##1D2A731.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2a73;
/* rgb */ color: rgb(29, 42, 115);
/* oklch */ color: oklch(32.5% 0.126 270.1);
Tailwind
colors: {
  custom: {
    50: '#66639c',
    500: '#1d2a73',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a73;
$custom-light: #66639c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a73",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 230.93,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32452,
    "c": 0.12594,
    "h": 270.1
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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