#1C5798#1C5798

#1C5798 is a mid, vivid cyan. Relative luminance 0.093; OKLCH L 45.5% C 0.122 H 253.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#1C5798
RGBrgb(28, 87, 152)
HSLhsl(211, 69%, 35%)
HSVhsv(211, 82%, 60%)
CMYKcmyk(81.6%, 42.8%, 0%, 40.4%)
CIE-LABlab(36.61, 5.70, -40.86)
CIE-LCHlch(36.61, 41.26, 277.94°)
OKLaboklab(45.48% -0.0338 -0.117)
OKLCHoklch(45.48% 0.122 253.9)
XYZxyz(9.5525, 9.3291, 30.9969)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C5798 #985D1C
analogous
#1C9598 #1C5798 #1F1C98
triadic
#1C5798 #981C57 #57981C
tetradic
#1C5798 #981C95 #985D1C #1C981F
square
#1C5798 #981C95 #985D1C #1C981F
split-complementary
#1C5798 #981F1C #95981C
monochromatic
#091C31 #123964 #1C5798 #2675CC #5094DF

Accessibility & contrast

On white

7.33
#1C5798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C5798
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C5798#FFFFFF#000000##FFFFFF
##1C57981.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9B
Deuteranopia (green-blind)
#205197
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1c5798;
/* rgb */ color: rgb(28, 87, 152);
/* oklch */ color: oklch(45.5% 0.122 253.9);
Tailwind
colors: {
  custom: {
    50: '#6d85b7',
    500: '#1c5798',
    950: '#000000',
  },
}
SCSS
$custom: #1c5798;
$custom-light: #6d85b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c5798",
  "rgb": {
    "r": 28,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 211.452,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45476,
    "c": 0.12174,
    "h": 253.9
  },
  "luminance": 0.0933
}

Semantic roles & 50–950 ramp

primary
#1C5798
secondary
#C18B4E
accent
#983CEC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1C5798

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

Preview Lab → · Contrast checker → · Palette generator →

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