#1C5787#1C5787

#1C5787 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.4% C 0.099 H 247.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#1C5787
RGBrgb(28, 87, 135)
HSLhsl(207, 66%, 32%)
HSVhsv(207, 79%, 53%)
CMYKcmyk(79.3%, 35.6%, 0%, 47.1%)
CIE-LABlab(35.62, -1.04, -32.12)
CIE-LCHlch(35.62, 32.14, 268.15°)
OKLaboklab(44.38% -0.0383 -0.0913)
OKLCHoklch(44.38% 0.099 247.3)
XYZxyz(8.2586, 8.8116, 24.1825)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C5787 #874C1C
analogous
#1C8782 #1C5787 #1C2287
triadic
#1C5787 #871C57 #57871C
tetradic
#1C5787 #821C87 #874C1C #22871C
square
#1C5787 #821C87 #874C1C #22871C
split-complementary
#1C5787 #871C22 #87821C
monochromatic
#071622 #113654 #1C5787 #2778BA #4596D8

Accessibility & contrast

On white

7.60
#1C5787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#1C5787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C5787
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C5787#FFFFFF#000000##FFFFFF
##1C57871.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415989
Deuteranopia (green-blind)
#314F86
Tritanopia (blue-blind)
#006368
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1c5787;
/* rgb */ color: rgb(28, 87, 135);
/* oklch */ color: oklch(44.4% 0.099 247.3);
Tailwind
colors: {
  custom: {
    50: '#6986aa',
    500: '#1c5787',
    950: '#000000',
  },
}
SCSS
$custom: #1c5787;
$custom-light: #6986aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c5787",
  "rgb": {
    "r": 28,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 206.916,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44377,
    "c": 0.09902,
    "h": 247.3
  },
  "luminance": 0.08813
}

Semantic roles & 50–950 ramp

primary
#1C5787
secondary
#BA7945
accent
#8B3FE9
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1C5787

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

Preview Lab → · Contrast checker → · Palette generator →

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