#1C5797#1C5797

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

Color values

HEX#1C5797
RGBrgb(28, 87, 151)
HSLhsl(211, 69%, 35%)
HSVhsv(211, 81%, 59%)
CMYKcmyk(81.5%, 42.4%, 0%, 40.8%)
CIE-LABlab(36.55, 5.30, -40.36)
CIE-LCHlch(36.55, 40.70, 277.48°)
OKLaboklab(45.41% -0.034 -0.1155)
OKLCHoklch(45.41% 0.12 253.6)
XYZxyz(9.4709, 9.2965, 30.5674)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C5797 #975C1C
analogous
#1C9497 #1C5797 #1F1C97
triadic
#1C5797 #971C57 #57971C
tetradic
#1C5797 #971C94 #975C1C #1C971F
square
#1C5797 #971C94 #975C1C #1C971F
split-complementary
#1C5797 #971F1C #94971C
monochromatic
#091C30 #123963 #1C5797 #2675CB #4F94DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C5797#FFFFFF#000000##FFFFFF
##1C57971.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: #1c5797;
/* rgb */ color: rgb(28, 87, 151);
/* oklch */ color: oklch(45.4% 0.120 253.6);
Tailwind
colors: {
  custom: {
    50: '#6d85b6',
    500: '#1c5797',
    950: '#000000',
  },
}
SCSS
$custom: #1c5797;
$custom-light: #6d85b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c5797",
  "rgb": {
    "r": 28,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 211.22,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45408,
    "c": 0.12038,
    "h": 253.6
  },
  "luminance": 0.09298
}

Semantic roles & 50–950 ramp

primary
#1C5797
secondary
#C18A4E
accent
#973CEC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1C5797

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

Preview Lab → · Contrast checker → · Palette generator →

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