#1D3E99#1D3E99

#1D3E99 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.154 H 264.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#1D3E99
RGBrgb(29, 62, 153)
HSLhsl(224, 68%, 36%)
HSVhsv(224, 81%, 60%)
CMYKcmyk(81%, 59.5%, 0%, 40%)
CIE-LABlab(29.43, 23.11, -53.07)
CIE-LCHlch(29.43, 57.88, 293.53°)
OKLaboklab(40.01% -0.0136 -0.1533)
OKLCHoklch(40.01% 0.154 264.9)
XYZxyz(7.9771, 6.0054, 30.8696)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E99 #99781D
analogous
#1D7C99 #1D3E99 #3A1D99
triadic
#1D3E99 #991D3E #3E991D
tetradic
#1D3E99 #991D7C #99781D #1D993A
square
#1D3E99 #991D7C #99781D #1D993A
split-complementary
#1D3E99 #993A1D #7C991D
monochromatic
#091432 #132966 #1D3E99 #2753CC #5277DE

Accessibility & contrast

On white

9.54
#1D3E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1D3E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E99
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E99#FFFFFF#000000##FFFFFF
##1D3E991.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d3e99;
/* rgb */ color: rgb(29, 62, 153);
/* oklch */ color: oklch(40.0% 0.154 264.9);
Tailwind
colors: {
  custom: {
    50: '#6f72b8',
    500: '#1d3e99',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e99;
$custom-light: #6f72b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e99",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 153
  },
  "hsl": {
    "h": 224.032,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40012,
    "c": 0.15395,
    "h": 264.9
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#1D3E99
secondary
#C1A351
accent
#BD3DEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #1D3E99

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

Preview Lab → · Contrast checker → · Palette generator →

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