#1D3388#1D3388

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

Color values

HEX#1D3388
RGBrgb(29, 51, 136)
HSLhsl(228, 65%, 32%)
HSVhsv(228, 79%, 53%)
CMYKcmyk(78.7%, 62.5%, 0%, 46.7%)
CIE-LABlab(24.97, 23.95, -49.86)
CIE-LCHlch(24.97, 55.32, 295.66°)
OKLaboklab(36.23% -0.0066 -0.1441)
OKLCHoklch(36.23% 0.144 267.4)
XYZxyz(6.1329, 4.4058, 23.8149)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3388 #88721D
analogous
#1D6888 #1D3388 #3D1D88
triadic
#1D3388 #881D33 #33881D
tetradic
#1D3388 #881D68 #88721D #1D883D
square
#1D3388 #881D68 #88721D #1D883D
split-complementary
#1D3388 #883D1D #68881D
monochromatic
#070D23 #122056 #1D3388 #2846BA #4865D8

Accessibility & contrast

On white

11.16
#1D3388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1D3388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3388
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3388#FFFFFF#000000##FFFFFF
##1D33881.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d3388;
/* rgb */ color: rgb(29, 51, 136);
/* oklch */ color: oklch(36.2% 0.144 267.4);
Tailwind
colors: {
  custom: {
    50: '#6b6aab',
    500: '#1d3388',
    950: '#000000',
  },
}
SCSS
$custom: #1d3388;
$custom-light: #6b6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3388",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 227.664,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36234,
    "c": 0.14426,
    "h": 267.4
  },
  "luminance": 0.04406
}

Semantic roles & 50–950 ramp

primary
#1D3388
secondary
#BAA247
accent
#C540E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D3388

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

Preview Lab → · Contrast checker → · Palette generator →

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