#5761CD#5761CD

#5761CD is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.2% C 0.165 H 275.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5761CD
RGBrgb(87, 97, 205)
HSLhsl(235, 54%, 57%)
HSVhsv(235, 58%, 80%)
CMYKcmyk(57.6%, 52.7%, 0%, 19.6%)
CIE-LABlab(45.61, 27.92, -57.40)
CIE-LCHlch(45.61, 63.83, 295.94°)
OKLaboklab(54.2% 0.0157 -0.1643)
OKLCHoklch(54.2% 0.165 275.5)
XYZxyz(19.2211, 14.9820, 59.6247)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5761CD #CDC357
analogous
#579CCD #5761CD #8857CD
triadic
#5761CD #CD5761 #61CD57
tetradic
#5761CD #CD579C #CDC357 #57CD88
square
#5761CD #CD579C #CDC357 #57CD88
split-complementary
#5761CD #CD8857 #9CCD57
monochromatic
#272F83 #3540B2 #5761CD #868DDB #B5BAE9

Accessibility & contrast

On white

5.25
#5761CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5761CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5761CD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5761CD#FFFFFF#000000##FFFFFF
##5761CD1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2171D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#047A8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5761cd;
/* rgb */ color: rgb(87, 97, 205);
/* oklch */ color: oklch(54.2% 0.165 275.5);
Tailwind
colors: {
  custom: {
    50: '#908ddd',
    500: '#5761cd',
    950: '#000000',
  },
}
SCSS
$custom: #5761cd;
$custom-light: #908ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5761cd",
  "rgb": {
    "r": 87,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 234.915,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54199,
    "c": 0.1651,
    "h": 275.5
  },
  "luminance": 0.14983
}

Semantic roles & 50–950 ramp

primary
#5761CD
secondary
#D8D4A8
accent
#D14ADD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5761CD

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

Preview Lab → · Contrast checker → · Palette generator →

#5761CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva