#1D5794#1D5794

#1D5794 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.2% C 0.116 H 252.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#1D5794
RGBrgb(29, 87, 148)
HSLhsl(211, 67%, 35%)
HSVhsv(211, 80%, 58%)
CMYKcmyk(80.4%, 41.2%, 0%, 42%)
CIE-LABlab(36.39, 4.22, -38.79)
CIE-LCHlch(36.39, 39.02, 276.21°)
OKLaboklab(45.24% -0.0342 -0.1109)
OKLCHoklch(45.24% 0.116 252.9)
XYZxyz(9.2582, 9.2146, 29.3019)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5794 #945A1D
analogous
#1D9394 #1D5794 #1E1D94
triadic
#1D5794 #941D57 #57941D
tetradic
#1D5794 #941D93 #945A1D #1D941E
square
#1D5794 #941D93 #945A1D #1D941E
split-complementary
#1D5794 #941E1D #93941D
monochromatic
#091B2E #133961 #1D5794 #2775C7 #4F94DC

Accessibility & contrast

On white

7.39
#1D5794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#1D5794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5794
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5794#FFFFFF#000000##FFFFFF
##1D57941.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395B96
Deuteranopia (green-blind)
#265193
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1d5794;
/* rgb */ color: rgb(29, 87, 148);
/* oklch */ color: oklch(45.2% 0.116 252.9);
Tailwind
colors: {
  custom: {
    50: '#6c85b4',
    500: '#1d5794',
    950: '#000000',
  },
}
SCSS
$custom: #1d5794;
$custom-light: #6c85b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5794",
  "rgb": {
    "r": 29,
    "g": 87,
    "b": 148
  },
  "hsl": {
    "h": 210.756,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45236,
    "c": 0.11602,
    "h": 252.9
  },
  "luminance": 0.09216
}

Semantic roles & 50–950 ramp

primary
#1D5794
secondary
#BF884E
accent
#963EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1D5794

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

Preview Lab → · Contrast checker → · Palette generator →

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