#5795CB#5795CB

#5795CB is a light, moderate cyan. Relative luminance 0.278; OKLCH L 65.1% C 0.104 H 246.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5795CB
RGBrgb(87, 149, 203)
HSLhsl(208, 53%, 57%)
HSVhsv(208, 57%, 80%)
CMYKcmyk(57.1%, 26.6%, 0%, 20.4%)
CIE-LABlab(59.74, -4.16, -33.86)
CIE-LCHlch(59.74, 34.12, 262.99°)
OKLaboklab(65.07% -0.0413 -0.0951)
OKLCHoklch(65.07% 0.104 246.5)
XYZxyz(25.4535, 27.8307, 60.5188)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795CB #CB8D57
analogous
#57CBC7 #5795CB #575BCB
triadic
#5795CB #CB5795 #95CB57
tetradic
#5795CB #C757CB #CB8D57 #5BCB57
square
#5795CB #C757CB #CB8D57 #5BCB57
split-complementary
#5795CB #CB575B #CBC757
monochromatic
#285780 #3677AF #5795CB #86B2D9 #B4D0E8

Accessibility & contrast

On white

3.20
#5795CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#5795CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795CB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795CB#FFFFFF#000000##000000
##5795CB1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E96CD
Deuteranopia (green-blind)
#6F8BCA
Tritanopia (blue-blind)
#00A2A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5795cb;
/* rgb */ color: rgb(87, 149, 203);
/* oklch */ color: oklch(65.1% 0.104 246.5);
Tailwind
colors: {
  custom: {
    50: '#8fb4db',
    500: '#5795cb',
    950: '#000000',
  },
}
SCSS
$custom: #5795cb;
$custom-light: #8fb4db;
$custom-dark: #000000;
JSON
{
  "hex": "#5795cb",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 203
  },
  "hsl": {
    "h": 207.931,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.65065,
    "c": 0.10365,
    "h": 246.5
  },
  "luminance": 0.27833
}

Semantic roles & 50–950 ramp

primary
#5795CB
secondary
#D7BDA7
accent
#8F4CDC
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5795CB

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

Preview Lab → · Contrast checker → · Palette generator →

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