#1D3390#1D3390

#1D3390 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.155 H 267.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#1D3390
RGBrgb(29, 51, 144)
HSLhsl(229, 66%, 34%)
HSVhsv(229, 80%, 56%)
CMYKcmyk(79.9%, 64.6%, 0%, 43.5%)
CIE-LABlab(25.69, 27.09, -53.65)
CIE-LCHlch(25.69, 60.10, 296.79°)
OKLaboklab(36.99% -0.0067 -0.1552)
OKLCHoklch(36.99% 0.155 267.5)
XYZxyz(6.7228, 4.6417, 26.9218)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3390 #907A1D
analogous
#1D6D90 #1D3390 #411D90
triadic
#1D3390 #901D33 #33901D
tetradic
#1D3390 #901D6D #907A1D #1D9041
square
#1D3390 #901D6D #907A1D #1D9041
split-complementary
#1D3390 #90411D #6D901D
monochromatic
#080F2A #13215D #1D3390 #2745C3 #4C68DB

Accessibility & contrast

On white

10.89
#1D3390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1D3390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3390
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3390#FFFFFF#000000##FFFFFF
##1D33901.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d3390;
/* rgb */ color: rgb(29, 51, 144);
/* oklch */ color: oklch(37.0% 0.155 267.5);
Tailwind
colors: {
  custom: {
    50: '#6d6ab1',
    500: '#1d3390',
    950: '#000000',
  },
}
SCSS
$custom: #1d3390;
$custom-light: #6d6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3390",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 144
  },
  "hsl": {
    "h": 228.522,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36988,
    "c": 0.15536,
    "h": 267.5
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#1D3390
secondary
#BDA84B
accent
#C93EE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1D3390

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

Preview Lab → · Contrast checker → · Palette generator →

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