#5795F0#5795F0

#5795F0 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.0% C 0.150 H 258.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5795F0
RGBrgb(87, 149, 240)
HSLhsl(216, 84%, 64%)
HSVhsv(216, 64%, 94%)
CMYKcmyk(63.7%, 37.9%, 0%, 5.9%)
CIE-LABlab(61.49, 7.93, -51.68)
CIE-LCHlch(61.49, 52.29, 278.73°)
OKLaboklab(67.01% -0.0314 -0.1469)
OKLCHoklch(67.01% 0.15 258)
XYZxyz(30.4005, 29.8095, 86.5729)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795F0 #F0B257
analogous
#57E2F0 #5795F0 #6657F0
triadic
#5795F0 #F05795 #95F057
tetradic
#5795F0 #F057E2 #F0B257 #57F066
square
#5795F0 #F057E2 #F0B257 #57F066
split-complementary
#5795F0 #F06657 #E2F057
monochromatic
#1156BC #1F72EB #5795F0 #8FB8F5 #C7DCFA

Accessibility & contrast

On white

3.02
#5795F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#5795F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795F0
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795F0#FFFFFF#000000##000000
##5795F01.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF4
Deuteranopia (green-blind)
#578EEE
Tritanopia (blue-blind)
#00AAB7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5795f0;
/* rgb */ color: rgb(87, 149, 240);
/* oklch */ color: oklch(67.0% 0.150 258.0);
Tailwind
colors: {
  custom: {
    50: '#94b3f5',
    500: '#5795f0',
    950: '#000000',
  },
}
SCSS
$custom: #5795f0;
$custom-light: #94b3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5795f0",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 240
  },
  "hsl": {
    "h": 215.686,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67013,
    "c": 0.15023,
    "h": 258
  },
  "luminance": 0.29812
}

Semantic roles & 50–950 ramp

primary
#5795F0
secondary
#ECD6B7
accent
#8705E0
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5795F0

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

Preview Lab → · Contrast checker → · Palette generator →

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