#5765DC#5765DC

#5765DC is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.0% C 0.180 H 274.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5765DC
RGBrgb(87, 101, 220)
HSLhsl(234, 66%, 60%)
HSVhsv(234, 60%, 86%)
CMYKcmyk(60.5%, 54.1%, 0%, 13.7%)
CIE-LABlab(47.62, 30.41, -62.71)
CIE-LCHlch(47.62, 69.70, 295.87°)
OKLaboklab(56.03% 0.0126 -0.1799)
OKLCHoklch(56.03% 0.18 274)
XYZxyz(21.4982, 16.4992, 69.7480)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5765DC #DCCE57
analogous
#57A8DC #5765DC #8B57DC
triadic
#5765DC #DC5765 #65DC57
tetradic
#5765DC #DC57A8 #DCCE57 #57DC8B
square
#5765DC #DC57A8 #DCCE57 #57DC8B
split-complementary
#5765DC #DC8B57 #A8DC57
monochromatic
#202D99 #2A3BCB #5765DC #8A93E7 #BCC2F1

Accessibility & contrast

On white

4.88
#5765DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5765DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5765DC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5765DC#FFFFFF#000000##FFFFFF
##5765DC1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F77E0
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5765dc;
/* rgb */ color: rgb(87, 101, 220);
/* oklch */ color: oklch(56.0% 0.180 274.0);
Tailwind
colors: {
  custom: {
    50: '#9290e8',
    500: '#5765dc',
    950: '#000000',
  },
}
SCSS
$custom: #5765dc;
$custom-light: #9290e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5765dc",
  "rgb": {
    "r": 87,
    "g": 101,
    "b": 220
  },
  "hsl": {
    "h": 233.684,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5603,
    "c": 0.18037,
    "h": 274
  },
  "luminance": 0.16501
}

Semantic roles & 50–950 ramp

primary
#5765DC
secondary
#E1DCAE
accent
#BA18CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5765DC

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

Preview Lab → · Contrast checker → · Palette generator →

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