#5785FA#5785FA

#5785FA is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.3% C 0.181 H 265.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5785FA
RGBrgb(87, 133, 250)
HSLhsl(223, 94%, 66%)
HSVhsv(223, 65%, 98%)
CMYKcmyk(65.2%, 46.8%, 0%, 2%)
CIE-LABlab(57.75, 20.89, -63.16)
CIE-LCHlch(57.75, 66.53, 288.30°)
OKLaboklab(64.31% -0.0144 -0.1808)
OKLCHoklch(64.31% 0.181 265.5)
XYZxyz(29.5673, 25.7006, 93.8265)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785FA #FACC57
analogous
#57D7FA #5785FA #7A57FA
triadic
#5785FA #FA5785 #85FA57
tetradic
#5785FA #FA57D7 #FACC57 #57FA7A
square
#5785FA #FA57D7 #FACC57 #57FA7A
split-complementary
#5785FA #FA7A57 #D7FA57
monochromatic
#063FD0 #1C5AF8 #5785FA #92B0FC #CEDBFE

Accessibility & contrast

On white

3.42
#5785FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#5785FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785FA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785FA#FFFFFF#000000##000000
##5785FA1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FE
Deuteranopia (green-blind)
#2684F8
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5785fa;
/* rgb */ color: rgb(87, 133, 250);
/* oklch */ color: oklch(64.3% 0.181 265.5);
Tailwind
colors: {
  custom: {
    50: '#96a8fd',
    500: '#5785fa',
    950: '#000000',
  },
}
SCSS
$custom: #5785fa;
$custom-light: #96a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5785fa",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 250
  },
  "hsl": {
    "h": 223.067,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64311,
    "c": 0.18142,
    "h": 265.5
  },
  "luminance": 0.25703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5785FA

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

Preview Lab → · Contrast checker → · Palette generator →

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