#1D3E9B#1D3E9B

#1D3E9B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.157 H 265.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#1D3E9B
RGBrgb(29, 62, 155)
HSLhsl(224, 68%, 36%)
HSVhsv(224, 81%, 61%)
CMYKcmyk(81.3%, 60%, 0%, 39.2%)
CIE-LABlab(29.59, 23.90, -54.01)
CIE-LCHlch(29.59, 59.06, 293.87°)
OKLaboklab(40.19% -0.0136 -0.1561)
OKLCHoklch(40.19% 0.157 265)
XYZxyz(8.1436, 6.0721, 31.7468)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E9B #9B7A1D
analogous
#1D7D9B #1D3E9B #3B1D9B
triadic
#1D3E9B #9B1D3E #3E9B1D
tetradic
#1D3E9B #9B1D7D #9B7A1D #1D9B3B
square
#1D3E9B #9B1D7D #9B7A1D #1D9B3B
split-complementary
#1D3E9B #9B3B1D #7D9B1D
monochromatic
#0A1534 #132967 #1D3E9B #2753CF #5378DF

Accessibility & contrast

On white

9.48
#1D3E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3E9B
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E9B#FFFFFF#000000##FFFFFF
##1D3E9B1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d3e9b;
/* rgb */ color: rgb(29, 62, 155);
/* oklch */ color: oklch(40.2% 0.157 265.0);
Tailwind
colors: {
  custom: {
    50: '#6f72b9',
    500: '#1d3e9b',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e9b;
$custom-light: #6f72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e9b",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 155
  },
  "hsl": {
    "h": 224.286,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40189,
    "c": 0.15671,
    "h": 265
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#1D3E9B
secondary
#C2A552
accent
#BE3CEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1D3E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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