#5785F0#5785F0

#5785F0 is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.7% C 0.168 H 264.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5785F0
RGBrgb(87, 133, 240)
HSLhsl(222, 84%, 64%)
HSVhsv(222, 64%, 94%)
CMYKcmyk(63.7%, 44.6%, 0%, 5.9%)
CIE-LABlab(57.16, 17.50, -58.58)
CIE-LCHlch(57.16, 61.13, 286.63°)
OKLaboklab(63.67% -0.0158 -0.1674)
OKLCHoklch(63.67% 0.168 264.6)
XYZxyz(28.0407, 25.0900, 85.7863)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785F0 #F0C257
analogous
#57D2F0 #5785F0 #7657F0
triadic
#5785F0 #F05785 #85F057
tetradic
#5785F0 #F057D2 #F0C257 #57F076
square
#5785F0 #F057D2 #F0C257 #57F076
split-complementary
#5785F0 #F07657 #D2F057
monochromatic
#1144BC #1F5CEB #5785F0 #8FAEF5 #C7D7FA

Accessibility & contrast

On white

3.49
#5785F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#5785F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785F0
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785F0#FFFFFF#000000##000000
##5785F01.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F4
Deuteranopia (green-blind)
#3783EE
Tritanopia (blue-blind)
#009DAF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5785f0;
/* rgb */ color: rgb(87, 133, 240);
/* oklch */ color: oklch(63.7% 0.168 264.6);
Tailwind
colors: {
  custom: {
    50: '#94a8f5',
    500: '#5785f0',
    950: '#000000',
  },
}
SCSS
$custom: #5785f0;
$custom-light: #94a8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5785f0",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 240
  },
  "hsl": {
    "h": 221.961,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6367,
    "c": 0.16812,
    "h": 264.6
  },
  "luminance": 0.25093
}

Semantic roles & 50–950 ramp

primary
#5785F0
secondary
#ECDCB7
accent
#9E05E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5785F0

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

Preview Lab → · Contrast checker → · Palette generator →

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