#5756AF#5756AF

#5756AF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.138 H 280.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5756AF
RGBrgb(87, 86, 175)
HSLhsl(241, 36%, 51%)
HSVhsv(241, 51%, 69%)
CMYKcmyk(50.3%, 50.9%, 0%, 31.4%)
CIE-LABlab(40.86, 25.09, -47.59)
CIE-LCHlch(40.86, 53.80, 297.79°)
OKLaboklab(50.01% 0.0256 -0.1356)
OKLCHoklch(50.01% 0.138 280.7)
XYZxyz(14.9938, 11.7761, 42.0321)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756AF #AEAF56
analogous
#5681AF #5756AF #8356AF
triadic
#5756AF #AF5756 #56AF57
tetradic
#5756AF #AF5681 #AEAF56 #56AF83
square
#5756AF #AF5681 #AEAF56 #56AF83
split-complementary
#5756AF #AF8356 #81AF56
monochromatic
#2D2D5E #414088 #5756AF #8080C3 #AAA9D6

Accessibility & contrast

On white

6.26
#5756AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5756AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756AF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756AF#FFFFFF#000000##FFFFFF
##5756AF1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#245DAD
Tritanopia (blue-blind)
#35697A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5756af;
/* rgb */ color: rgb(87, 86, 175);
/* oklch */ color: oklch(50.0% 0.138 280.7);
Tailwind
colors: {
  custom: {
    50: '#8c85c7',
    500: '#5756af',
    950: '#000000',
  },
}
SCSS
$custom: #5756af;
$custom-light: #8c85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5756af",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 240.674,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50008,
    "c": 0.13799,
    "h": 280.7
  },
  "luminance": 0.11777
}

Semantic roles & 50–950 ramp

primary
#5756AF
secondary
#C4C49D
accent
#CC5CCB
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #5756AF

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

Preview Lab → · Contrast checker → · Palette generator →

#5756AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva