#5785FB#5785FB

#5785FB is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.4% C 0.183 H 265.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5785FB
RGBrgb(87, 133, 251)
HSLhsl(223, 95%, 66%)
HSVhsv(223, 65%, 98%)
CMYKcmyk(65.3%, 47%, 0%, 1.6%)
CIE-LABlab(57.81, 21.23, -63.62)
CIE-LCHlch(57.81, 67.07, 288.46°)
OKLaboklab(64.38% -0.0142 -0.1822)
OKLCHoklch(64.38% 0.183 265.5)
XYZxyz(29.7245, 25.7635, 94.6545)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785FB #FBCD57
analogous
#57D7FB #5785FB #7B57FB
triadic
#5785FB #FB5785 #85FB57
tetradic
#5785FB #FB57D7 #FBCD57 #57FB7B
square
#5785FB #FB57D7 #FBCD57 #57FB7B
split-complementary
#5785FB #FB7B57 #D7FB57
monochromatic
#053FD3 #1B5AFA #5785FB #93B0FC #CFDCFE

Accessibility & contrast

On white

3.41
#5785FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#5785FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785FB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785FB#FFFFFF#000000##000000
##5785FB1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#2384F9
Tritanopia (blue-blind)
#00A0B4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5785fb;
/* rgb */ color: rgb(87, 133, 251);
/* oklch */ color: oklch(64.4% 0.183 265.5);
Tailwind
colors: {
  custom: {
    50: '#96a8fd',
    500: '#5785fb',
    950: '#000000',
  },
}
SCSS
$custom: #5785fb;
$custom-light: #96a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5785fb",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 251
  },
  "hsl": {
    "h": 223.171,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64376,
    "c": 0.18274,
    "h": 265.5
  },
  "luminance": 0.25766
}

Semantic roles & 50–950 ramp

primary
#5785FB
secondary
#F2E3BC
accent
#A500E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5785FB

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

Preview Lab → · Contrast checker → · Palette generator →

#5785FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva