#5765CB#5765CB

#5765CB is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.8% C 0.157 H 274.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5765CB
RGBrgb(87, 101, 203)
HSLhsl(233, 53%, 57%)
HSVhsv(233, 57%, 80%)
CMYKcmyk(57.1%, 50.2%, 0%, 20.4%)
CIE-LABlab(46.50, 24.78, -54.81)
CIE-LCHlch(46.50, 60.15, 294.32°)
OKLaboklab(54.83% 0.0114 -0.1567)
OKLCHoklch(54.83% 0.157 274.2)
XYZxyz(19.3601, 15.6440, 58.4877)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5765CB #CBBD57
analogous
#579FCB #5765CB #8357CB
triadic
#5765CB #CB5765 #65CB57
tetradic
#5765CB #CB579F #CBBD57 #57CB83
square
#5765CB #CB579F #CBBD57 #57CB83
split-complementary
#5765CB #CB8357 #9FCB57
monochromatic
#283280 #3645AF #5765CB #8690D9 #B4BBE8

Accessibility & contrast

On white

5.09
#5765CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5765CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5765CB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5765CB#FFFFFF#000000##FFFFFF
##5765CB1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3073CF
Deuteranopia (green-blind)
#1B69C9
Tritanopia (blue-blind)
#0A7C8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5765cb;
/* rgb */ color: rgb(87, 101, 203);
/* oklch */ color: oklch(54.8% 0.157 274.2);
Tailwind
colors: {
  custom: {
    50: '#9090db',
    500: '#5765cb',
    950: '#000000',
  },
}
SCSS
$custom: #5765cb;
$custom-light: #9090db;
$custom-dark: #000000;
JSON
{
  "hex": "#5765cb",
  "rgb": {
    "r": 87,
    "g": 101,
    "b": 203
  },
  "hsl": {
    "h": 232.759,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54831,
    "c": 0.1571,
    "h": 274.2
  },
  "luminance": 0.15645
}

Semantic roles & 50–950 ramp

primary
#5765CB
secondary
#D7D1A7
accent
#CB4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5765CB

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

Preview Lab → · Contrast checker → · Palette generator →

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