#1D3D9B#1D3D9B

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

Color values

HEX#1D3D9B
RGBrgb(29, 61, 155)
HSLhsl(225, 68%, 36%)
HSVhsv(225, 81%, 61%)
CMYKcmyk(81.3%, 60.6%, 0%, 39.2%)
CIE-LABlab(29.32, 24.58, -54.45)
CIE-LCHlch(29.32, 59.75, 294.30°)
OKLaboklab(39.99% -0.0129 -0.1574)
OKLCHoklch(39.99% 0.158 265.3)
XYZxyz(8.0897, 5.9643, 31.7289)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D9B #9B7B1D
analogous
#1D7C9B #1D3D9B #3C1D9B
triadic
#1D3D9B #9B1D3D #3D9B1D
tetradic
#1D3D9B #9B1D7C #9B7B1D #1D9B3C
square
#1D3D9B #9B1D7C #9B7B1D #1D9B3C
split-complementary
#1D3D9B #9B3C1D #7C9B1D
monochromatic
#0A1434 #132967 #1D3D9B #2751CF #5377DF

Accessibility & contrast

On white

9.58
#1D3D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1D3D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D9B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D9B#FFFFFF#000000##FFFFFF
##1D3D9B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d3d9b;
/* rgb */ color: rgb(29, 61, 155);
/* oklch */ color: oklch(40.0% 0.158 265.3);
Tailwind
colors: {
  custom: {
    50: '#6f72b9',
    500: '#1d3d9b',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d9b;
$custom-light: #6f72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d9b",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 155
  },
  "hsl": {
    "h": 224.762,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39987,
    "c": 0.15796,
    "h": 265.3
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#1D3D9B
secondary
#C2A652
accent
#BF3CEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1D3D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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