#1D5797#1D5797

#1D5797 is a mid, vivid cyan. Relative luminance 0.093; OKLCH L 45.4% C 0.120 H 253.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#1D5797
RGBrgb(29, 87, 151)
HSLhsl(211, 68%, 35%)
HSVhsv(211, 81%, 59%)
CMYKcmyk(80.8%, 42.4%, 0%, 40.8%)
CIE-LABlab(36.58, 5.41, -40.31)
CIE-LCHlch(36.58, 40.67, 277.64°)
OKLaboklab(45.44% -0.0335 -0.1153)
OKLCHoklch(45.44% 0.12 253.8)
XYZxyz(9.4987, 9.3108, 30.5687)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5797 #975D1D
analogous
#1D9497 #1D5797 #201D97
triadic
#1D5797 #971D57 #57971D
tetradic
#1D5797 #971D94 #975D1D #1D9720
square
#1D5797 #971D94 #975D1D #1D9720
split-complementary
#1D5797 #97201D #94971D
monochromatic
#091C30 #133964 #1D5797 #2775CA #5194DE

Accessibility & contrast

On white

7.34
#1D5797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#1D5797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5797
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5797#FFFFFF#000000##FFFFFF
##1D57971.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#225196
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1d5797;
/* rgb */ color: rgb(29, 87, 151);
/* oklch */ color: oklch(45.4% 0.120 253.8);
Tailwind
colors: {
  custom: {
    50: '#6d85b6',
    500: '#1d5797',
    950: '#000000',
  },
}
SCSS
$custom: #1d5797;
$custom-light: #6d85b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5797",
  "rgb": {
    "r": 29,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 211.475,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45437,
    "c": 0.1201,
    "h": 253.8
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#1D5797
secondary
#C08B4F
accent
#983DEB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1D5797

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

Preview Lab → · Contrast checker → · Palette generator →

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