#1D3D9D#1D3D9D

#1D3D9D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.161 H 265.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#1D3D9D
RGBrgb(29, 61, 157)
HSLhsl(225, 69%, 36%)
HSVhsv(225, 82%, 62%)
CMYKcmyk(81.5%, 61.1%, 0%, 38.4%)
CIE-LABlab(29.49, 25.37, -55.39)
CIE-LCHlch(29.49, 60.92, 294.61°)
OKLaboklab(40.17% -0.0129 -0.1602)
OKLCHoklch(40.17% 0.161 265.4)
XYZxyz(8.2591, 6.0320, 32.6208)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D9D #9D7D1D
analogous
#1D7D9D #1D3D9D #3D1D9D
triadic
#1D3D9D #9D1D3D #3D9D1D
tetradic
#1D3D9D #9D1D7D #9D7D1D #1D9D3D
square
#1D3D9D #9D1D7D #9D7D1D #1D9D3D
split-complementary
#1D3D9D #9D3D1D #7D9D1D
monochromatic
#0A1536 #132969 #1D3D9D #2751D1 #5578E0

Accessibility & contrast

On white

9.52
#1D3D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1D3D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D9D
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D9D#FFFFFF#000000##FFFFFF
##1D3D9D1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d3d9d;
/* rgb */ color: rgb(29, 61, 157);
/* oklch */ color: oklch(40.2% 0.161 265.4);
Tailwind
colors: {
  custom: {
    50: '#7072bb',
    500: '#1d3d9d',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d9d;
$custom-light: #7072bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d9d",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 225,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40167,
    "c": 0.1607,
    "h": 265.4
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#1D3D9D
secondary
#C3A753
accent
#C03CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1D3D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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