#1D3370#1D3370

#1D3370 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.109 H 265.9°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#1D3370
RGBrgb(29, 51, 112)
HSLhsl(224, 59%, 28%)
HSVhsv(224, 74%, 44%)
CMYKcmyk(74.1%, 54.5%, 0%, 56.1%)
CIE-LABlab(22.99, 14.33, -37.91)
CIE-LCHlch(22.99, 40.52, 290.70°)
OKLaboklab(34.13% -0.0079 -0.109)
OKLCHoklch(34.13% 0.109 265.9)
XYZxyz(4.6141, 3.7982, 15.8161)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3370 #705A1D
analogous
#1D5D70 #1D3370 #301D70
triadic
#1D3370 #701D33 #33701D
tetradic
#1D3370 #701D5D #705A1D #1D7030
square
#1D3370 #701D5D #705A1D #1D7030
split-complementary
#1D3370 #70301D #5D701D
monochromatic
#060B18 #101D3F #1D3370 #2A49A1 #3B62CC

Accessibility & contrast

On white

11.93
#1D3370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1D3370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3370
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3370#FFFFFF#000000##FFFFFF
##1D33701.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3B72
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d3370;
/* rgb */ color: rgb(29, 51, 112);
/* oklch */ color: oklch(34.1% 0.109 265.9);
Tailwind
colors: {
  custom: {
    50: '#656a9a',
    500: '#1d3370',
    950: '#000000',
  },
}
SCSS
$custom: #1d3370;
$custom-light: #656a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3370",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 224.096,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3413,
    "c": 0.10924,
    "h": 265.9
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#1D3370
secondary
#A48B44
accent
#B946E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1D3370

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

Preview Lab → · Contrast checker → · Palette generator →

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