#1D2173#1D2173

#1D2173 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.137 H 272.8°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#1D2173
RGBrgb(29, 33, 115)
HSLhsl(237, 60%, 28%)
HSVhsv(237, 75%, 45%)
CMYKcmyk(74.8%, 71.3%, 0%, 54.9%)
CIE-LABlab(18.30, 28.12, -47.48)
CIE-LCHlch(18.30, 55.18, 300.63°)
OKLaboklab(30.73% 0.0068 -0.1373)
OKLCHoklch(30.73% 0.137 272.8)
XYZxyz(4.1440, 2.5863, 16.4971)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2173 #736F1D
analogous
#1D4C73 #1D2173 #441D73
triadic
#1D2173 #731D21 #21731D
tetradic
#1D2173 #731D4C #736F1D #1D7344
square
#1D2173 #731D4C #736F1D #1D7344
split-complementary
#1D2173 #73441D #4C731D
monochromatic
#060718 #111342 #1D2173 #292FA4 #3C43CE

Accessibility & contrast

On white

13.84
#1D2173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1D2173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2173
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2173#FFFFFF#000000##FFFFFF
##1D21731.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d2173;
/* rgb */ color: rgb(29, 33, 115);
/* oklch */ color: oklch(30.7% 0.137 272.8);
Tailwind
colors: {
  custom: {
    50: '#675c9c',
    500: '#1d2173',
    950: '#000000',
  },
}
SCSS
$custom: #1d2173;
$custom-light: #675c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2173",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 237.209,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30733,
    "c": 0.13743,
    "h": 272.8
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#1D2173
secondary
#A7A345
accent
#DC45E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D2173

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

Preview Lab → · Contrast checker → · Palette generator →

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