#5795C2#5795C2

#5795C2 is a light, moderate cyan. Relative luminance 0.274; OKLCH L 64.6% C 0.093 H 241.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5795C2
RGBrgb(87, 149, 194)
HSLhsl(205, 47%, 55%)
HSVhsv(205, 55%, 76%)
CMYKcmyk(55.2%, 23.2%, 0%, 23.9%)
CIE-LABlab(59.36, -6.98, -29.39)
CIE-LCHlch(59.36, 30.21, 256.64°)
OKLaboklab(64.64% -0.0443 -0.0822)
OKLCHoklch(64.64% 0.093 241.7)
XYZxyz(24.4120, 27.4141, 55.0335)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795C2 #C28457
analogous
#57C2BA #5795C2 #575FC2
triadic
#5795C2 #C25795 #95C257
tetradic
#5795C2 #BA57C2 #C28457 #5FC257
square
#5795C2 #BA57C2 #C28457 #5FC257
split-complementary
#5795C2 #C2575F #C2BA57
monochromatic
#2A5574 #3B76A1 #5795C2 #84B1D2 #B1CEE3

Accessibility & contrast

On white

3.24
#5795C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#5795C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795C2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795C2#FFFFFF#000000##000000
##5795C21.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8195C4
Deuteranopia (green-blind)
#738AC1
Tritanopia (blue-blind)
#00A0A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5795c2;
/* rgb */ color: rgb(87, 149, 194);
/* oklch */ color: oklch(64.6% 0.093 241.7);
Tailwind
colors: {
  custom: {
    50: '#8eb4d4',
    500: '#5795c2',
    950: '#000000',
  },
}
SCSS
$custom: #5795c2;
$custom-light: #8eb4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5795c2",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 194
  },
  "hsl": {
    "h": 205.234,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6464,
    "c": 0.09335,
    "h": 241.7
  },
  "luminance": 0.27416
}

Semantic roles & 50–950 ramp

primary
#5795C2
secondary
#D1B7A4
accent
#8951D6
background
#F9FBFD
surface
#F1F6FA
border
#CBD0D3
text
#0D1114
muted
#7E8083

Preview Lab

Preview with #5795C2

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

Preview Lab → · Contrast checker → · Palette generator →

#5795C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva