#5765E5#5765E5

#5765E5 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.7% C 0.192 H 273.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5765E5
RGBrgb(87, 101, 229)
HSLhsl(234, 73%, 62%)
HSVhsv(234, 62%, 90%)
CMYKcmyk(62%, 55.9%, 0%, 10.2%)
CIE-LABlab(48.25, 33.40, -66.79)
CIE-LCHlch(48.25, 74.68, 296.56°)
OKLaboklab(56.69% 0.0129 -0.1919)
OKLCHoklch(56.69% 0.192 273.8)
XYZxyz(22.7223, 16.9889, 76.1953)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5765E5 #E5D757
analogous
#57ACE5 #5765E5 #9057E5
triadic
#5765E5 #E55765 #65E557
tetradic
#5765E5 #E557AC #E5D757 #57E590
square
#5765E5 #E557AC #E5D757 #57E590
split-complementary
#5765E5 #E59057 #ACE557
monochromatic
#1A28A8 #2235DD #5765E5 #8C96ED #C1C6F5

Accessibility & contrast

On white

4.77
#5765E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5765E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5765E5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5765E5#FFFFFF#000000##FFFFFF
##5765E51.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5765e5;
/* rgb */ color: rgb(87, 101, 229);
/* oklch */ color: oklch(56.7% 0.192 273.8);
Tailwind
colors: {
  custom: {
    50: '#9490ee',
    500: '#5765e5',
    950: '#000000',
  },
}
SCSS
$custom: #5765e5;
$custom-light: #9490ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5765e5",
  "rgb": {
    "r": 87,
    "g": 101,
    "b": 229
  },
  "hsl": {
    "h": 234.085,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56693,
    "c": 0.19237,
    "h": 273.8
  },
  "luminance": 0.16991
}

Semantic roles & 50–950 ramp

primary
#5765E5
secondary
#E6E1B2
accent
#C210D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5765E5

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

Preview Lab → · Contrast checker → · Palette generator →

#5765E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva