#5757DB#5757DB

#5757DB is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.4% C 0.197 H 277.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5757DB
RGBrgb(87, 87, 219)
HSLhsl(240, 65%, 60%)
HSVhsv(240, 60%, 86%)
CMYKcmyk(60.3%, 60.3%, 0%, 14.1%)
CIE-LABlab(44.17, 38.64, -67.75)
CIE-LCHlch(44.17, 77.99, 299.70°)
OKLaboklab(53.44% 0.0254 -0.1949)
OKLCHoklch(53.44% 0.197 277.4)
XYZxyz(20.1207, 13.9556, 68.6375)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757DB #DBDB57
analogous
#5799DB #5757DB #9957DB
triadic
#5757DB #DB5757 #57DB57
tetradic
#5757DB #DB5799 #DBDB57 #57DB99
square
#5757DB #DB5799 #DBDB57 #57DB99
split-complementary
#5757DB #DB9957 #99DB57
monochromatic
#202097 #2B2BCA #5757DB #8989E6 #BCBCF1

Accessibility & contrast

On white

5.54
#5757DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5757DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757DB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757DB#FFFFFF#000000##FFFFFF
##5757DB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5757db;
/* rgb */ color: rgb(87, 87, 219);
/* oklch */ color: oklch(53.4% 0.197 277.4);
Tailwind
colors: {
  custom: {
    50: '#9386e7',
    500: '#5757db',
    950: '#000000',
  },
}
SCSS
$custom: #5757db;
$custom-light: #9386e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5757db",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 240,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.53442,
    "c": 0.19651,
    "h": 277.4
  },
  "luminance": 0.13957
}

Semantic roles & 50–950 ramp

primary
#5757DB
secondary
#E0E0AD
accent
#E840E8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5757DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5757DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva