#5765CF#5765CF

#5765CF is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.1% C 0.163 H 274.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5765CF
RGBrgb(87, 101, 207)
HSLhsl(233, 56%, 58%)
HSVhsv(233, 58%, 81%)
CMYKcmyk(58%, 51.2%, 0%, 18.8%)
CIE-LABlab(46.76, 26.10, -56.70)
CIE-LCHlch(46.76, 62.41, 294.72°)
OKLaboklab(55.11% 0.0117 -0.1622)
OKLCHoklch(55.11% 0.163 274.1)
XYZxyz(19.8430, 15.8371, 61.0306)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5765CF #CFC157
analogous
#57A1CF #5765CF #8557CF
triadic
#5765CF #CF5765 #65CF57
tetradic
#5765CF #CF57A1 #CFC157 #57CF85
square
#5765CF #CF57A1 #CFC157 #57CF85
split-complementary
#5765CF #CF8557 #A1CF57
monochromatic
#263185 #3443B5 #5765CF #8791DD #B6BCEA

Accessibility & contrast

On white

5.04
#5765CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5765CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5765CF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5765CF#FFFFFF#000000##FFFFFF
##5765CF1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D3
Deuteranopia (green-blind)
#0F6ACD
Tritanopia (blue-blind)
#007D90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5765cf;
/* rgb */ color: rgb(87, 101, 207);
/* oklch */ color: oklch(55.1% 0.163 274.1);
Tailwind
colors: {
  custom: {
    50: '#9090de',
    500: '#5765cf',
    950: '#000000',
  },
}
SCSS
$custom: #5765cf;
$custom-light: #9090de;
$custom-dark: #000000;
JSON
{
  "hex": "#5765cf",
  "rgb": {
    "r": 87,
    "g": 101,
    "b": 207
  },
  "hsl": {
    "h": 233,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55107,
    "c": 0.16265,
    "h": 274.1
  },
  "luminance": 0.15839
}

Semantic roles & 50–950 ramp

primary
#5765CF
secondary
#D9D3A9
accent
#CD49DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5765CF

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

Preview Lab → · Contrast checker → · Palette generator →

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