#1D3389#1D3389

#1D3389 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.146 H 267.4°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#1D3389
RGBrgb(29, 51, 137)
HSLhsl(228, 65%, 33%)
HSVhsv(228, 79%, 54%)
CMYKcmyk(78.8%, 62.8%, 0%, 46.3%)
CIE-LABlab(25.06, 24.35, -50.34)
CIE-LCHlch(25.06, 55.92, 295.81°)
OKLaboklab(36.33% -0.0066 -0.1455)
OKLCHoklch(36.33% 0.146 267.4)
XYZxyz(6.2043, 4.4343, 24.1910)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3389 #89731D
analogous
#1D6989 #1D3389 #3D1D89
triadic
#1D3389 #891D33 #33891D
tetradic
#1D3389 #891D69 #89731D #1D893D
square
#1D3389 #891D69 #89731D #1D893D
split-complementary
#1D3389 #893D1D #69891D
monochromatic
#080D24 #122056 #1D3389 #2846BC #4865D8

Accessibility & contrast

On white

11.13
#1D3389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1D3389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3389
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3389#FFFFFF#000000##FFFFFF
##1D33891.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d3389;
/* rgb */ color: rgb(29, 51, 137);
/* oklch */ color: oklch(36.3% 0.146 267.4);
Tailwind
colors: {
  custom: {
    50: '#6b6aac',
    500: '#1d3389',
    950: '#000000',
  },
}
SCSS
$custom: #1d3389;
$custom-light: #6b6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3389",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 137
  },
  "hsl": {
    "h": 227.778,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36327,
    "c": 0.14566,
    "h": 267.4
  },
  "luminance": 0.04435
}

Semantic roles & 50–950 ramp

primary
#1D3389
secondary
#BAA347
accent
#C640E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D3389

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

Preview Lab → · Contrast checker → · Palette generator →

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