#1D3F99#1D3F99

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

Color values

HEX#1D3F99
RGBrgb(29, 63, 153)
HSLhsl(224, 68%, 36%)
HSVhsv(224, 81%, 60%)
CMYKcmyk(81%, 58.8%, 0%, 40%)
CIE-LABlab(29.70, 22.43, -52.62)
CIE-LCHlch(29.70, 57.20, 293.08°)
OKLaboklab(40.22% -0.0143 -0.152)
OKLCHoklch(40.22% 0.153 264.6)
XYZxyz(8.0319, 6.1152, 30.8878)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3F99 #99771D
analogous
#1D7D99 #1D3F99 #391D99
triadic
#1D3F99 #991D3F #3F991D
tetradic
#1D3F99 #991D7D #99771D #1D9939
square
#1D3F99 #991D7D #99771D #1D9939
split-complementary
#1D3F99 #99391D #7D991D
monochromatic
#091532 #132A66 #1D3F99 #2754CC #5279DE

Accessibility & contrast

On white

9.45
#1D3F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3F99
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3F99#FFFFFF#000000##FFFFFF
##1D3F991.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d3f99;
/* rgb */ color: rgb(29, 63, 153);
/* oklch */ color: oklch(40.2% 0.153 264.6);
Tailwind
colors: {
  custom: {
    50: '#6f73b8',
    500: '#1d3f99',
    950: '#000000',
  },
}
SCSS
$custom: #1d3f99;
$custom-light: #6f73b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3f99",
  "rgb": {
    "r": 29,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 223.548,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40218,
    "c": 0.15268,
    "h": 264.6
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#1D3F99
secondary
#C1A251
accent
#BB3DEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #1D3F99

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

Preview Lab → · Contrast checker → · Palette generator →

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