#1D3373#1D3373

#1D3373 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.114 H 266.2°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#1D3373
RGBrgb(29, 51, 115)
HSLhsl(225, 60%, 28%)
HSVhsv(225, 75%, 45%)
CMYKcmyk(74.8%, 55.7%, 0%, 54.9%)
CIE-LABlab(23.22, 15.54, -39.45)
CIE-LCHlch(23.22, 42.40, 291.50°)
OKLaboklab(34.38% -0.0076 -0.1135)
OKLCHoklch(34.38% 0.114 266.2)
XYZxyz(4.7840, 3.8662, 16.7105)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3373 #735D1D
analogous
#1D5E73 #1D3373 #321D73
triadic
#1D3373 #731D33 #33731D
tetradic
#1D3373 #731D5E #735D1D #1D7332
square
#1D3373 #731D5E #735D1D #1D7332
split-complementary
#1D3373 #73321D #5E731D
monochromatic
#060B18 #111D42 #1D3373 #2949A4 #3C62CE

Accessibility & contrast

On white

11.84
#1D3373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1D3373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3373
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3373#FFFFFF#000000##FFFFFF
##1D33731.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053B75
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d3373;
/* rgb */ color: rgb(29, 51, 115);
/* oklch */ color: oklch(34.4% 0.114 266.2);
Tailwind
colors: {
  custom: {
    50: '#666a9c',
    500: '#1d3373',
    950: '#000000',
  },
}
SCSS
$custom: #1d3373;
$custom-light: #666a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3373",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 115
  },
  "hsl": {
    "h": 224.651,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34378,
    "c": 0.11377,
    "h": 266.2
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#1D3373
secondary
#A78E45
accent
#BA45E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1D3373

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

Preview Lab → · Contrast checker → · Palette generator →

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