#1D3F96#1D3F96

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

Color values

HEX#1D3F96
RGBrgb(29, 63, 150)
HSLhsl(223, 68%, 35%)
HSVhsv(223, 81%, 59%)
CMYKcmyk(80.7%, 58%, 0%, 41.2%)
CIE-LABlab(29.46, 21.23, -51.19)
CIE-LCHlch(29.46, 55.42, 292.53°)
OKLaboklab(39.96% -0.0145 -0.1478)
OKLCHoklch(39.96% 0.149 264.4)
XYZxyz(7.7873, 6.0173, 29.5993)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3F96 #96741D
analogous
#1D7C96 #1D3F96 #371D96
triadic
#1D3F96 #961D3F #3F961D
tetradic
#1D3F96 #961D7C #96741D #1D9637
square
#1D3F96 #961D7C #96741D #1D9637
split-complementary
#1D3F96 #96371D #7C961D
monochromatic
#09142F #132963 #1D3F96 #2755C9 #5078DD

Accessibility & contrast

On white

9.53
#1D3F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1D3F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3F96
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3F96#FFFFFF#000000##FFFFFF
##1D3F961.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d3f96;
/* rgb */ color: rgb(29, 63, 150);
/* oklch */ color: oklch(40.0% 0.149 264.4);
Tailwind
colors: {
  custom: {
    50: '#6e73b6',
    500: '#1d3f96',
    950: '#000000',
  },
}
SCSS
$custom: #1d3f96;
$custom-light: #6e73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3f96",
  "rgb": {
    "r": 29,
    "g": 63,
    "b": 150
  },
  "hsl": {
    "h": 223.14,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39957,
    "c": 0.14852,
    "h": 264.4
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#1D3F96
secondary
#C0A04F
accent
#BA3DEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D3F96

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

Preview Lab → · Contrast checker → · Palette generator →

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