#5798EA#5798EA

#5798EA is a light, vivid cyan. Relative luminance 0.304; OKLCH L 67.3% C 0.139 H 255.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5798EA
RGBrgb(87, 152, 234)
HSLhsl(213, 78%, 63%)
HSVhsv(213, 63%, 92%)
CMYKcmyk(62.8%, 35%, 0%, 8.2%)
CIE-LABlab(62.02, 4.18, -47.54)
CIE-LCHlch(62.02, 47.72, 275.02°)
OKLaboklab(67.32% -0.0358 -0.1348)
OKLCHoklch(67.32% 0.139 255.1)
XYZxyz(30.0046, 30.4204, 82.1164)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798EA #EAA957
analogous
#57E2EA #5798EA #5F57EA
triadic
#5798EA #EA5798 #98EA57
tetradic
#5798EA #EA57E2 #EAA957 #57EA5F
square
#5798EA #EA57E2 #EAA957 #57EA5F
split-complementary
#5798EA #EA5F57 #E2EA57
monochromatic
#165AB1 #2177E3 #5798EA #8DB9F1 #C4DBF8

Accessibility & contrast

On white

2.96
#5798EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#5798EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5798EA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798EA#FFFFFF#000000##000000
##5798EA1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#759DED
Deuteranopia (green-blind)
#6090E8
Tritanopia (blue-blind)
#00ABB6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5798ea;
/* rgb */ color: rgb(87, 152, 234);
/* oklch */ color: oklch(67.3% 0.139 255.1);
Tailwind
colors: {
  custom: {
    50: '#93b5f1',
    500: '#5798ea',
    950: '#000000',
  },
}
SCSS
$custom: #5798ea;
$custom-light: #93b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5798ea",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 213.469,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67324,
    "c": 0.13945,
    "h": 255.1
  },
  "luminance": 0.30423
}

Semantic roles & 50–950 ramp

primary
#5798EA
secondary
#E9D1B4
accent
#7F0BDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5798EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5798EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva