#5760CB#5760CB

#5760CB is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.9% C 0.164 H 275.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5760CB
RGBrgb(87, 96, 203)
HSLhsl(235, 53%, 57%)
HSVhsv(235, 57%, 80%)
CMYKcmyk(57.1%, 52.7%, 0%, 20.4%)
CIE-LABlab(45.22, 27.89, -56.88)
CIE-LCHlch(45.22, 63.35, 296.12°)
OKLaboklab(53.87% 0.0166 -0.1628)
OKLCHoklch(53.87% 0.164 275.8)
XYZxyz(18.8894, 14.7024, 58.3308)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5760CB #CBC257
analogous
#579ACB #5760CB #8857CB
triadic
#5760CB #CB5760 #60CB57
tetradic
#5760CB #CB579A #CBC257 #57CB88
square
#5760CB #CB579A #CBC257 #57CB88
split-complementary
#5760CB #CB8857 #9ACB57
monochromatic
#282E80 #363FAF #5760CB #868CD9 #B4B8E8

Accessibility & contrast

On white

5.33
#5760CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5760CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5760CB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5760CB#FFFFFF#000000##FFFFFF
##5760CB1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2170CF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#0D798C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5760cb;
/* rgb */ color: rgb(87, 96, 203);
/* oklch */ color: oklch(53.9% 0.164 275.8);
Tailwind
colors: {
  custom: {
    50: '#908ddb',
    500: '#5760cb',
    950: '#000000',
  },
}
SCSS
$custom: #5760cb;
$custom-light: #908ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5760cb",
  "rgb": {
    "r": 87,
    "g": 96,
    "b": 203
  },
  "hsl": {
    "h": 235.345,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53868,
    "c": 0.16365,
    "h": 275.8
  },
  "luminance": 0.14704
}

Semantic roles & 50–950 ramp

primary
#5760CB
secondary
#D7D3A7
accent
#D14CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5760CB

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

Preview Lab → · Contrast checker → · Palette generator →

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