#1D3697#1D3697

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

Color values

HEX#1D3697
RGBrgb(29, 54, 151)
HSLhsl(228, 68%, 35%)
HSVhsv(228, 81%, 59%)
CMYKcmyk(80.8%, 64.2%, 0%, 40.8%)
CIE-LABlab(27.11, 27.78, -55.63)
CIE-LCHlch(27.11, 62.18, 296.53°)
OKLaboklab(38.24% -0.0087 -0.161)
OKLCHoklch(38.24% 0.161 266.9)
XYZxyz(7.4098, 5.1330, 29.8724)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3697 #977E1D
analogous
#1D7397 #1D3697 #411D97
triadic
#1D3697 #971D36 #36971D
tetradic
#1D3697 #971D73 #977E1D #1D9741
square
#1D3697 #971D73 #977E1D #1D9741
split-complementary
#1D3697 #97411D #73971D
monochromatic
#091130 #132464 #1D3697 #2748CA #516EDE

Accessibility & contrast

On white

10.36
#1D3697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1D3697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3697
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3697#FFFFFF#000000##FFFFFF
##1D36971.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d3697;
/* rgb */ color: rgb(29, 54, 151);
/* oklch */ color: oklch(38.2% 0.161 266.9);
Tailwind
colors: {
  custom: {
    50: '#6f6cb6',
    500: '#1d3697',
    950: '#000000',
  },
}
SCSS
$custom: #1d3697;
$custom-light: #6f6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3697",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 227.705,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38235,
    "c": 0.1612,
    "h": 266.9
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D3697

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

Preview Lab → · Contrast checker → · Palette generator →

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