#5775F2#5775F2

#5775F2 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.190 H 269.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5775F2
RGBrgb(87, 117, 242)
HSLhsl(228, 86%, 65%)
HSVhsv(228, 64%, 95%)
CMYKcmyk(64%, 51.7%, 0%, 5.1%)
CIE-LABlab(53.12, 27.94, -66.19)
CIE-LCHlch(53.12, 71.84, 292.88°)
OKLaboklab(60.63% -0.0008 -0.19)
OKLCHoklch(60.63% 0.19 269.8)
XYZxyz(26.3133, 21.1572, 86.6843)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5775F2 #F2D457
analogous
#57C3F2 #5775F2 #8757F2
triadic
#5775F2 #F25775 #75F257
tetradic
#5775F2 #F257C3 #F2D457 #57F287
square
#5775F2 #F257C3 #F2D457 #57F287
split-complementary
#5775F2 #F28757 #C3F257
monochromatic
#0F31C0 #1E46EE #5775F2 #90A4F6 #C9D2FB

Accessibility & contrast

On white

4.01
#5775F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5775F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5775F2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5775F2#FFFFFF#000000##000000
##5775F21.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F6
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#0092A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5775f2;
/* rgb */ color: rgb(87, 117, 242);
/* oklch */ color: oklch(60.6% 0.190 269.8);
Tailwind
colors: {
  custom: {
    50: '#959cf7',
    500: '#5775f2',
    950: '#000000',
  },
}
SCSS
$custom: #5775f2;
$custom-light: #959cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5775f2",
  "rgb": {
    "r": 87,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 228.387,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60632,
    "c": 0.18997,
    "h": 269.8
  },
  "luminance": 0.2116
}

Semantic roles & 50–950 ramp

primary
#5775F2
secondary
#EDE3B8
accent
#B703E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5775F2

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

Preview Lab → · Contrast checker → · Palette generator →

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