#5765E6#5765E6

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

Color values

HEX#5765E6
RGBrgb(87, 101, 230)
HSLhsl(234, 74%, 62%)
HSVhsv(234, 62%, 90%)
CMYKcmyk(62.2%, 56.1%, 0%, 9.8%)
CIE-LABlab(48.32, 33.73, -67.24)
CIE-LCHlch(48.32, 75.23, 296.64°)
OKLaboklab(56.77% 0.0129 -0.1933)
OKLCHoklch(56.77% 0.194 273.8)
XYZxyz(22.8624, 17.0449, 76.9328)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5765E6 #E6D857
analogous
#57ACE6 #5765E6 #9157E6
triadic
#5765E6 #E65765 #65E657
tetradic
#5765E6 #E657AC #E6D857 #57E691
square
#5765E6 #E657AC #E6D857 #57E691
split-complementary
#5765E6 #E69157 #ACE657
monochromatic
#1927A9 #2234DE #5765E6 #8C96EE #C2C7F6

Accessibility & contrast

On white

4.76
#5765E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5765E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5765E6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5765E6#FFFFFF#000000##FFFFFF
##5765E61.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#006DE3
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5765e6;
/* rgb */ color: rgb(87, 101, 230);
/* oklch */ color: oklch(56.8% 0.194 273.8);
Tailwind
colors: {
  custom: {
    50: '#9490ef',
    500: '#5765e6',
    950: '#000000',
  },
}
SCSS
$custom: #5765e6;
$custom-light: #9490ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5765e6",
  "rgb": {
    "r": 87,
    "g": 101,
    "b": 230
  },
  "hsl": {
    "h": 234.126,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56768,
    "c": 0.19369,
    "h": 273.8
  },
  "luminance": 0.17047
}

Semantic roles & 50–950 ramp

primary
#5765E6
secondary
#E7E2B2
accent
#C30FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5765E6

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

Preview Lab → · Contrast checker → · Palette generator →

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