#1D5796#1D5796

#1D5796 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.4% C 0.119 H 253.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#1D5796
RGBrgb(29, 87, 150)
HSLhsl(211, 68%, 35%)
HSVhsv(211, 81%, 59%)
CMYKcmyk(80.7%, 42%, 0%, 41.2%)
CIE-LABlab(36.52, 5.01, -39.80)
CIE-LCHlch(36.52, 40.12, 277.18°)
OKLaboklab(45.37% -0.0337 -0.1138)
OKLCHoklch(45.37% 0.119 253.5)
XYZxyz(9.4178, 9.2785, 30.1428)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5796 #965C1D
analogous
#1D9396 #1D5796 #201D96
triadic
#1D5796 #961D57 #57961D
tetradic
#1D5796 #961D93 #965C1D #1D9620
square
#1D5796 #961D93 #965C1D #1D9620
split-complementary
#1D5796 #96201D #93961D
monochromatic
#091C2F #133963 #1D5796 #2775C9 #5094DD

Accessibility & contrast

On white

7.35
#1D5796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D5796
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5796#FFFFFF#000000##FFFFFF
##1D57961.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C98
Deuteranopia (green-blind)
#235195
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1d5796;
/* rgb */ color: rgb(29, 87, 150);
/* oklch */ color: oklch(45.4% 0.119 253.5);
Tailwind
colors: {
  custom: {
    50: '#6d85b5',
    500: '#1d5796',
    950: '#000000',
  },
}
SCSS
$custom: #1d5796;
$custom-light: #6d85b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5796",
  "rgb": {
    "r": 29,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 211.24,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45369,
    "c": 0.11873,
    "h": 253.5
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#1D5796
secondary
#C08A4F
accent
#973DEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1D5796

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

Preview Lab → · Contrast checker → · Palette generator →

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