#1D3C99#1D3C99

#1D3C99 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.156 H 265.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#1D3C99
RGBrgb(29, 60, 153)
HSLhsl(225, 68%, 36%)
HSVhsv(225, 81%, 60%)
CMYKcmyk(81%, 60.8%, 0%, 40%)
CIE-LABlab(28.88, 24.48, -53.96)
CIE-LCHlch(28.88, 59.25, 294.40°)
OKLaboklab(39.61% -0.0123 -0.156)
OKLCHoklch(39.61% 0.156 265.5)
XYZxyz(7.8703, 5.7919, 30.8340)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3C99 #997A1D
analogous
#1D7A99 #1D3C99 #3C1D99
triadic
#1D3C99 #991D3C #3C991D
tetradic
#1D3C99 #991D7A #997A1D #1D993C
square
#1D3C99 #991D7A #997A1D #1D993C
split-complementary
#1D3C99 #993C1D #7A991D
monochromatic
#091432 #132866 #1D3C99 #2750CC #5275DE

Accessibility & contrast

On white

9.73
#1D3C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1D3C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3C99
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3C99#FFFFFF#000000##FFFFFF
##1D3C991.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d3c99;
/* rgb */ color: rgb(29, 60, 153);
/* oklch */ color: oklch(39.6% 0.156 265.5);
Tailwind
colors: {
  custom: {
    50: '#6f71b8',
    500: '#1d3c99',
    950: '#000000',
  },
}
SCSS
$custom: #1d3c99;
$custom-light: #6f71b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3c99",
  "rgb": {
    "r": 29,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 225,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39605,
    "c": 0.15647,
    "h": 265.5
  },
  "luminance": 0.05793
}

Semantic roles & 50–950 ramp

primary
#1D3C99
secondary
#C1A551
accent
#BF3DEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #1D3C99

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

Preview Lab → · Contrast checker → · Palette generator →

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