#1D3E90#1D3E90

#1D3E90 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.141 H 264.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#1D3E90
RGBrgb(29, 62, 144)
HSLhsl(223, 66%, 34%)
HSVhsv(223, 80%, 56%)
CMYKcmyk(79.9%, 56.9%, 0%, 43.5%)
CIE-LABlab(28.69, 19.52, -48.75)
CIE-LCHlch(28.69, 52.51, 291.82°)
OKLaboklab(39.23% -0.0141 -0.1407)
OKLCHoklch(39.23% 0.141 264.3)
XYZxyz(7.2616, 5.7192, 27.1014)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E90 #906F1D
analogous
#1D7890 #1D3E90 #361D90
triadic
#1D3E90 #901D3E #3E901D
tetradic
#1D3E90 #901D78 #906F1D #1D9036
square
#1D3E90 #901D78 #906F1D #1D9036
split-complementary
#1D3E90 #90361D #78901D
monochromatic
#08122A #13285D #1D3E90 #2754C3 #4C75DB

Accessibility & contrast

On white

9.79
#1D3E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1D3E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E90
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E90#FFFFFF#000000##FFFFFF
##1D3E901.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d3e90;
/* rgb */ color: rgb(29, 62, 144);
/* oklch */ color: oklch(39.2% 0.141 264.3);
Tailwind
colors: {
  custom: {
    50: '#6c72b1',
    500: '#1d3e90',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e90;
$custom-light: #6c72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e90",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 144
  },
  "hsl": {
    "h": 222.783,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39231,
    "c": 0.14138,
    "h": 264.3
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#1D3E90
secondary
#BD9D4B
accent
#B83EE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D3E90

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

Preview Lab → · Contrast checker → · Palette generator →

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