#5795D3#5795D3

#5795D3 is a light, moderate cyan. Relative luminance 0.282; OKLCH L 65.5% C 0.113 H 249.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5795D3
RGBrgb(87, 149, 211)
HSLhsl(210, 58%, 58%)
HSVhsv(210, 59%, 83%)
CMYKcmyk(58.8%, 29.4%, 0%, 17.3%)
CIE-LABlab(60.09, -1.61, -37.79)
CIE-LCHlch(60.09, 37.83, 267.56°)
OKLaboklab(65.46% -0.0389 -0.1064)
OKLCHoklch(65.46% 0.113 249.9)
XYZxyz(26.4315, 28.2219, 65.6699)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795D3 #D39557
analogous
#57D3D3 #5795D3 #5757D3
triadic
#5795D3 #D35795 #95D357
tetradic
#5795D3 #D357D3 #D39557 #57D357
square
#5795D3 #D357D3 #D39557 #57D357
split-complementary
#5795D3 #D35757 #D3D357
monochromatic
#24588B #3176BC #5795D3 #87B4E0 #B8D2EC

Accessibility & contrast

On white

3.16
#5795D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#5795D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795D3
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795D3#FFFFFF#000000##000000
##5795D31.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B98D6
Deuteranopia (green-blind)
#6A8BD2
Tritanopia (blue-blind)
#00A3AB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5795d3;
/* rgb */ color: rgb(87, 149, 211);
/* oklch */ color: oklch(65.5% 0.113 249.9);
Tailwind
colors: {
  custom: {
    50: '#90b3e0',
    500: '#5795d3',
    950: '#000000',
  },
}
SCSS
$custom: #5795d3;
$custom-light: #90b3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5795d3",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 211
  },
  "hsl": {
    "h": 210,
    "s": 58.491,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65459,
    "c": 0.11331,
    "h": 249.9
  },
  "luminance": 0.28224
}

Semantic roles & 50–950 ramp

primary
#5795D3
secondary
#DCC3AA
accent
#9446E2
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5795D3

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

Preview Lab → · Contrast checker → · Palette generator →

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