#5762DF#5762DF

#5762DF is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.7% C 0.188 H 274.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5762DF
RGBrgb(87, 98, 223)
HSLhsl(235, 68%, 61%)
HSVhsv(235, 61%, 87%)
CMYKcmyk(61%, 56.1%, 0%, 12.5%)
CIE-LABlab(47.09, 33.25, -65.28)
CIE-LCHlch(47.09, 73.26, 296.99°)
OKLaboklab(55.7% 0.0155 -0.1875)
OKLCHoklch(55.7% 0.188 274.7)
XYZxyz(21.6131, 16.0876, 71.7640)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5762DF #DFD457
analogous
#57A6DF #5762DF #9057DF
triadic
#5762DF #DF5762 #62DF57
tetradic
#5762DF #DF57A6 #DFD457 #57DF90
square
#5762DF #DF57A6 #DFD457 #57DF90
split-complementary
#5762DF #DF9057 #A6DF57
monochromatic
#1E289E #2835D1 #5762DF #8A92E9 #BEC2F3

Accessibility & contrast

On white

4.98
#5762DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5762DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5762DF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5762DF#FFFFFF#000000##FFFFFF
##5762DF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#006ADC
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5762df;
/* rgb */ color: rgb(87, 98, 223);
/* oklch */ color: oklch(55.7% 0.188 274.7);
Tailwind
colors: {
  custom: {
    50: '#938eea',
    500: '#5762df',
    950: '#000000',
  },
}
SCSS
$custom: #5762df;
$custom-light: #938eea;
$custom-dark: #000000;
JSON
{
  "hex": "#5762df",
  "rgb": {
    "r": 87,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 235.147,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55697,
    "c": 0.18815,
    "h": 274.7
  },
  "luminance": 0.16089
}

Semantic roles & 50–950 ramp

primary
#5762DF
secondary
#E3DEAF
accent
#C116D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5762DF

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

Preview Lab → · Contrast checker → · Palette generator →

#5762DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva