#5795EE#5795EE

#5795EE is a light, vivid blue. Relative luminance 0.297; OKLCH L 66.9% C 0.148 H 257.6°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5795EE
RGBrgb(87, 149, 238)
HSLhsl(215, 82%, 64%)
HSVhsv(215, 63%, 93%)
CMYKcmyk(63.4%, 37.4%, 0%, 6.7%)
CIE-LABlab(61.39, 7.26, -50.74)
CIE-LCHlch(61.39, 51.26, 278.15°)
OKLaboklab(66.9% -0.0318 -0.1442)
OKLCHoklch(66.9% 0.148 257.6)
XYZxyz(30.1050, 29.6913, 85.0168)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795EE #EEB057
analogous
#57E1EE #5795EE #6457EE
triadic
#5795EE #EE5795 #95EE57
tetradic
#5795EE #EE57E1 #EEB057 #57EE64
square
#5795EE #EE57E1 #EEB057 #57EE64
split-complementary
#5795EE #EE6457 #E1EE57
monochromatic
#1357B8 #1F72E8 #5795EE #8FB8F4 #C6DBF9

Accessibility & contrast

On white

3.03
#5795EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#5795EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795EE
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795EE#FFFFFF#000000##000000
##5795EE1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF2
Deuteranopia (green-blind)
#598EEC
Tritanopia (blue-blind)
#00A9B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5795ee;
/* rgb */ color: rgb(87, 149, 238);
/* oklch */ color: oklch(66.9% 0.148 257.6);
Tailwind
colors: {
  custom: {
    50: '#94b3f4',
    500: '#5795ee',
    950: '#000000',
  },
}
SCSS
$custom: #5795ee;
$custom-light: #94b3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5795ee",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 238
  },
  "hsl": {
    "h": 215.364,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.669,
    "c": 0.14764,
    "h": 257.6
  },
  "luminance": 0.29694
}

Semantic roles & 50–950 ramp

primary
#5795EE
secondary
#EBD5B6
accent
#8608DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5795EE

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

Preview Lab → · Contrast checker → · Palette generator →

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