#5765F2#5765F2

#5765F2 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 57.7% C 0.209 H 273.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5765F2
RGBrgb(87, 101, 242)
HSLhsl(235, 86%, 65%)
HSVhsv(235, 64%, 95%)
CMYKcmyk(64%, 58.3%, 0%, 5.1%)
CIE-LABlab(49.18, 37.71, -72.57)
CIE-LCHlch(49.18, 81.79, 297.46°)
OKLaboklab(57.68% 0.013 -0.2089)
OKLCHoklch(57.68% 0.209 273.6)
XYZxyz(24.6058, 17.7423, 86.1151)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5765F2 #F2E457
analogous
#57B2F2 #5765F2 #9757F2
triadic
#5765F2 #F25765 #65F257
tetradic
#5765F2 #F257B2 #F2E457 #57F297
square
#5765F2 #F257B2 #F2E457 #57F297
split-complementary
#5765F2 #F29757 #B2F257
monochromatic
#0F1FC0 #1E31EE #5765F2 #9099F6 #C9CDFB

Accessibility & contrast

On white

4.62
#5765F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5765F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5765F2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5765F2#FFFFFF#000000##FFFFFF
##5765F21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#0088A2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5765f2;
/* rgb */ color: rgb(87, 101, 242);
/* oklch */ color: oklch(57.7% 0.209 273.6);
Tailwind
colors: {
  custom: {
    50: '#9691f7',
    500: '#5765f2',
    950: '#000000',
  },
}
SCSS
$custom: #5765f2;
$custom-light: #9691f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5765f2",
  "rgb": {
    "r": 87,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 234.581,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57684,
    "c": 0.20933,
    "h": 273.6
  },
  "luminance": 0.17744
}

Semantic roles & 50–950 ramp

primary
#5765F2
secondary
#EDE8B8
accent
#CE03E2
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5765F2

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

Preview Lab → · Contrast checker → · Palette generator →

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