#1D3D9F#1D3D9F

#1D3D9F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.163 H 265.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#1D3D9F
RGBrgb(29, 61, 159)
HSLhsl(225, 69%, 37%)
HSVhsv(225, 82%, 62%)
CMYKcmyk(81.8%, 61.6%, 0%, 37.6%)
CIE-LABlab(29.67, 26.16, -56.32)
CIE-LCHlch(29.67, 62.10, 294.91°)
OKLaboklab(40.35% -0.0128 -0.1629)
OKLCHoklch(40.35% 0.163 265.5)
XYZxyz(8.4312, 6.1009, 33.5274)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D9F #9F7F1D
analogous
#1D7E9F #1D3D9F #3E1D9F
triadic
#1D3D9F #9F1D3D #3D9F1D
tetradic
#1D3D9F #9F1D7E #9F7F1D #1D9F3E
square
#1D3D9F #9F1D7E #9F7F1D #1D9F3E
split-complementary
#1D3D9F #9F3E1D #7E9F1D
monochromatic
#0A1537 #14296B #1D3D9F #2651D3 #5678E0

Accessibility & contrast

On white

9.46
#1D3D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1D3D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D9F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D9F#FFFFFF#000000##FFFFFF
##1D3D9F1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d3d9f;
/* rgb */ color: rgb(29, 61, 159);
/* oklch */ color: oklch(40.3% 0.163 265.5);
Tailwind
colors: {
  custom: {
    50: '#7072bc',
    500: '#1d3d9f',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d9f;
$custom-light: #7072bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d9f",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 225.231,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40349,
    "c": 0.16342,
    "h": 265.5
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#1D3D9F
secondary
#C4A854
accent
#C13CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1D3D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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