#1D3696#1D3696

#1D3696 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.160 H 266.9°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#1D3696
RGBrgb(29, 54, 150)
HSLhsl(228, 68%, 35%)
HSVhsv(228, 81%, 59%)
CMYKcmyk(80.7%, 64%, 0%, 41.2%)
CIE-LABlab(27.02, 27.39, -55.16)
CIE-LCHlch(27.02, 61.59, 296.40°)
OKLaboklab(38.14% -0.0086 -0.1596)
OKLCHoklch(38.14% 0.16 266.9)
XYZxyz(7.3290, 5.1007, 29.4465)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3696 #967D1D
analogous
#1D7396 #1D3696 #401D96
triadic
#1D3696 #961D36 #36961D
tetradic
#1D3696 #961D73 #967D1D #1D9640
square
#1D3696 #961D73 #967D1D #1D9640
split-complementary
#1D3696 #96401D #73961D
monochromatic
#09112F #132463 #1D3696 #2748C9 #506DDD

Accessibility & contrast

On white

10.39
#1D3696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1D3696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3696
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3696#FFFFFF#000000##FFFFFF
##1D36961.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d3696;
/* rgb */ color: rgb(29, 54, 150);
/* oklch */ color: oklch(38.1% 0.160 266.9);
Tailwind
colors: {
  custom: {
    50: '#6f6cb6',
    500: '#1d3696',
    950: '#000000',
  },
}
SCSS
$custom: #1d3696;
$custom-light: #6f6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3696",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 150
  },
  "hsl": {
    "h": 227.603,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3814,
    "c": 0.15984,
    "h": 266.9
  },
  "luminance": 0.05102
}

Semantic roles & 50–950 ramp

primary
#1D3696
secondary
#C0A94F
accent
#C73DEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #1D3696

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

Preview Lab → · Contrast checker → · Palette generator →

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