#5765DF#5765DF

#5765DF is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.2% C 0.184 H 273.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5765DF
RGBrgb(87, 101, 223)
HSLhsl(234, 68%, 61%)
HSVhsv(234, 61%, 87%)
CMYKcmyk(61%, 54.7%, 0%, 12.5%)
CIE-LABlab(47.83, 31.40, -64.08)
CIE-LCHlch(47.83, 71.36, 296.11°)
OKLaboklab(56.25% 0.0127 -0.184)
OKLCHoklch(56.25% 0.184 273.9)
XYZxyz(21.8991, 16.6595, 71.8593)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5765DF #DFD157
analogous
#57A9DF #5765DF #8D57DF
triadic
#5765DF #DF5765 #65DF57
tetradic
#5765DF #DF57A9 #DFD157 #57DF8D
square
#5765DF #DF57A9 #DFD157 #57DF8D
split-complementary
#5765DF #DF8D57 #A9DF57
monochromatic
#1E2B9E #2839D1 #5765DF #8A94E9 #BEC3F3

Accessibility & contrast

On white

4.85
#5765DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5765DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5765DF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5765DF#FFFFFF#000000##FFFFFF
##5765DF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0178E3
Deuteranopia (green-blind)
#006CDD
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5765df;
/* rgb */ color: rgb(87, 101, 223);
/* oklch */ color: oklch(56.2% 0.184 273.9);
Tailwind
colors: {
  custom: {
    50: '#9390ea',
    500: '#5765df',
    950: '#000000',
  },
}
SCSS
$custom: #5765df;
$custom-light: #9390ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5765df",
  "rgb": {
    "r": 87,
    "g": 101,
    "b": 223
  },
  "hsl": {
    "h": 233.824,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56249,
    "c": 0.1844,
    "h": 273.9
  },
  "luminance": 0.16661
}

Semantic roles & 50–950 ramp

primary
#5765DF
secondary
#E3DDAF
accent
#BD16D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5765DF

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

Preview Lab → · Contrast checker → · Palette generator →

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