#1D3597#1D3597

#1D3597 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.162 H 267.1°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#1D3597
RGBrgb(29, 53, 151)
HSLhsl(228, 68%, 35%)
HSVhsv(228, 81%, 59%)
CMYKcmyk(80.8%, 64.9%, 0%, 40.8%)
CIE-LABlab(26.85, 28.45, -56.05)
CIE-LCHlch(26.85, 62.86, 296.91°)
OKLaboklab(38.04% -0.0081 -0.1622)
OKLCHoklch(38.04% 0.162 267.1)
XYZxyz(7.3638, 5.0409, 29.8571)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3597 #977F1D
analogous
#1D7297 #1D3597 #421D97
triadic
#1D3597 #971D35 #35971D
tetradic
#1D3597 #971D72 #977F1D #1D9742
square
#1D3597 #971D72 #977F1D #1D9742
split-complementary
#1D3597 #97421D #72971D
monochromatic
#091130 #132364 #1D3597 #2747CA #516DDE

Accessibility & contrast

On white

10.46
#1D3597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1D3597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3597
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3597#FFFFFF#000000##FFFFFF
##1D35971.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d3597;
/* rgb */ color: rgb(29, 53, 151);
/* oklch */ color: oklch(38.0% 0.162 267.1);
Tailwind
colors: {
  custom: {
    50: '#6f6cb7',
    500: '#1d3597',
    950: '#000000',
  },
}
SCSS
$custom: #1d3597;
$custom-light: #6f6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3597",
  "rgb": {
    "r": 29,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 228.197,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38043,
    "c": 0.16242,
    "h": 267.1
  },
  "luminance": 0.05042
}

Semantic roles & 50–950 ramp

primary
#1D3597
secondary
#C0AA4F
accent
#C93DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1D3597

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

Preview Lab → · Contrast checker → · Palette generator →

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