#1D2597#1D2597

#1D2597 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.180 H 269.9°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#1D2597
RGBrgb(29, 37, 151)
HSLhsl(236, 68%, 35%)
HSVhsv(236, 81%, 59%)
CMYKcmyk(80.8%, 75.5%, 0%, 40.8%)
CIE-LABlab(23.06, 38.72, -62.29)
CIE-LCHlch(23.06, 73.35, 301.86°)
OKLaboklab(35.29% -0.0004 -0.1804)
OKLCHoklch(35.29% 0.18 269.9)
XYZxyz(6.7523, 3.8179, 29.6532)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2597 #978F1D
analogous
#1D6297 #1D2597 #521D97
triadic
#1D2597 #971D25 #25971D
tetradic
#1D2597 #971D62 #978F1D #1D9752
square
#1D2597 #971D62 #978F1D #1D9752
split-complementary
#1D2597 #97521D #62971D
monochromatic
#090C30 #131864 #1D2597 #2732CA #515ADE

Accessibility & contrast

On white

11.91
#1D2597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1D2597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2597
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2597#FFFFFF#000000##FFFFFF
##1D25971.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003195
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2597;
/* rgb */ color: rgb(29, 37, 151);
/* oklch */ color: oklch(35.3% 0.180 269.9);
Tailwind
colors: {
  custom: {
    50: '#7061b7',
    500: '#1d2597',
    950: '#000000',
  },
}
SCSS
$custom: #1d2597;
$custom-light: #7061b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2597",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 236.066,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35294,
    "c": 0.18044,
    "h": 269.9
  },
  "luminance": 0.03819
}

Semantic roles & 50–950 ramp

primary
#1D2597
secondary
#C0B94F
accent
#DF3DEB
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D2597

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

Preview Lab → · Contrast checker → · Palette generator →

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