#5764F2#5764F2

#5764F2 is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.5% C 0.211 H 273.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5764F2
RGBrgb(87, 100, 242)
HSLhsl(235, 86%, 65%)
HSVhsv(235, 64%, 95%)
CMYKcmyk(64%, 58.7%, 0%, 5.1%)
CIE-LABlab(48.94, 38.31, -72.96)
CIE-LCHlch(48.94, 82.41, 297.71°)
OKLaboklab(57.51% 0.0138 -0.2101)
OKLCHoklch(57.51% 0.211 273.8)
XYZxyz(24.5093, 17.5493, 86.0829)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5764F2 #F2E557
analogous
#57B1F2 #5764F2 #9857F2
triadic
#5764F2 #F25764 #64F257
tetradic
#5764F2 #F257B1 #F2E557 #57F298
square
#5764F2 #F257B1 #F2E557 #57F298
split-complementary
#5764F2 #F29857 #B1F257
monochromatic
#0F1EC0 #1E30EE #5764F2 #9098F6 #C9CDFB

Accessibility & contrast

On white

4.66
#5764F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5764F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5764F2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5764F2#FFFFFF#000000##FFFFFF
##5764F21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#0087A1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5764f2;
/* rgb */ color: rgb(87, 100, 242);
/* oklch */ color: oklch(57.5% 0.211 273.8);
Tailwind
colors: {
  custom: {
    50: '#9690f7',
    500: '#5764f2',
    950: '#000000',
  },
}
SCSS
$custom: #5764f2;
$custom-light: #9690f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5764f2",
  "rgb": {
    "r": 87,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 234.968,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57508,
    "c": 0.21053,
    "h": 273.8
  },
  "luminance": 0.17551
}

Semantic roles & 50–950 ramp

primary
#5764F2
secondary
#EDE9B8
accent
#CF03E2
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5764F2

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

Preview Lab → · Contrast checker → · Palette generator →

#5764F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva