#1D3E89#1D3E89

#1D3E89 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.131 H 263.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#1D3E89
RGBrgb(29, 62, 137)
HSLhsl(222, 65%, 33%)
HSVhsv(222, 79%, 54%)
CMYKcmyk(78.8%, 54.7%, 0%, 46.3%)
CIE-LABlab(28.15, 16.70, -45.32)
CIE-LCHlch(28.15, 48.30, 290.23°)
OKLaboklab(38.65% -0.0148 -0.1306)
OKLCHoklch(38.65% 0.131 263.6)
XYZxyz(6.7431, 5.5118, 24.3706)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E89 #89681D
analogous
#1D7489 #1D3E89 #321D89
triadic
#1D3E89 #891D3E #3E891D
tetradic
#1D3E89 #891D74 #89681D #1D8932
square
#1D3E89 #891D74 #89681D #1D8932
split-complementary
#1D3E89 #89321D #74891D
monochromatic
#081024 #122756 #1D3E89 #2855BC #4874D8

Accessibility & contrast

On white

9.99
#1D3E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1D3E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E89
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E89#FFFFFF#000000##FFFFFF
##1D3E891.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04488C
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d3e89;
/* rgb */ color: rgb(29, 62, 137);
/* oklch */ color: oklch(38.6% 0.131 263.6);
Tailwind
colors: {
  custom: {
    50: '#6b72ac',
    500: '#1d3e89',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e89;
$custom-light: #6b72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e89",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 221.667,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38645,
    "c": 0.1314,
    "h": 263.6
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#1D3E89
secondary
#BA9747
accent
#B540E8
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1D3E89

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

Preview Lab → · Contrast checker → · Palette generator →

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