#1C5799#1C5799

#1C5799 is a mid, vivid cyan. Relative luminance 0.094; OKLCH L 45.5% C 0.123 H 254.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#1C5799
RGBrgb(28, 87, 153)
HSLhsl(212, 69%, 35%)
HSVhsv(212, 82%, 60%)
CMYKcmyk(81.7%, 43.1%, 0%, 40%)
CIE-LABlab(36.67, 6.10, -41.36)
CIE-LCHlch(36.67, 41.81, 278.39°)
OKLaboklab(45.54% -0.0336 -0.1184)
OKLCHoklch(45.54% 0.123 254.2)
XYZxyz(9.6347, 9.3620, 31.4301)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C5799 #995E1C
analogous
#1C9599 #1C5799 #1F1C99
triadic
#1C5799 #991C57 #57991C
tetradic
#1C5799 #991C95 #995E1C #1C991F
square
#1C5799 #991C95 #995E1C #1C991F
split-complementary
#1C5799 #991F1C #95991C
monochromatic
#091C32 #133A65 #1C5799 #2574CD #5094DF

Accessibility & contrast

On white

7.31
#1C5799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#1C5799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C5799
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C5799#FFFFFF#000000##FFFFFF
##1C57991.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9C
Deuteranopia (green-blind)
#1F5198
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1c5799;
/* rgb */ color: rgb(28, 87, 153);
/* oklch */ color: oklch(45.5% 0.123 254.2);
Tailwind
colors: {
  custom: {
    50: '#6d85b7',
    500: '#1c5799',
    950: '#000000',
  },
}
SCSS
$custom: #1c5799;
$custom-light: #6d85b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c5799",
  "rgb": {
    "r": 28,
    "g": 87,
    "b": 153
  },
  "hsl": {
    "h": 211.68,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45544,
    "c": 0.1231,
    "h": 254.2
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#1C5799
secondary
#C28C4F
accent
#993CEC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1C5799

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

Preview Lab → · Contrast checker → · Palette generator →

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