#5A85F6#5A85F6

#5A85F6 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.2% C 0.175 H 266.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5A85F6
RGBrgb(90, 133, 246)
HSLhsl(223, 90%, 66%)
HSVhsv(223, 63%, 96%)
CMYKcmyk(63.4%, 45.9%, 0%, 3.5%)
CIE-LABlab(57.66, 20.03, -61.10)
CIE-LCHlch(57.66, 64.30, 288.15°)
OKLaboklab(64.2% -0.0123 -0.1747)
OKLCHoklch(64.2% 0.175 266)
XYZxyz(29.2328, 25.5999, 90.5716)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85F6 #F6CB5A
analogous
#5AD3F6 #5A85F6 #7D5AF6
triadic
#5A85F6 #F65A85 #85F65A
tetradic
#5A85F6 #F65AD3 #F6CB5A #5AF67D
square
#5A85F6 #F65AD3 #F6CB5A #5AF67D
split-complementary
#5A85F6 #F67D5A #D3F65A
monochromatic
#0B40CB #205AF3 #5A85F6 #94B0F9 #CEDBFC

Accessibility & contrast

On white

3.43
#5A85F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#5A85F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85F6
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85F6#FFFFFF#000000##000000
##5A85F61.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92FA
Deuteranopia (green-blind)
#3084F4
Tritanopia (blue-blind)
#009FB2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a85f6;
/* rgb */ color: rgb(90, 133, 246);
/* oklch */ color: oklch(64.2% 0.175 266.0);
Tailwind
colors: {
  custom: {
    50: '#97a8fa',
    500: '#5a85f6',
    950: '#000000',
  },
}
SCSS
$custom: #5a85f6;
$custom-light: #97a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85f6",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 246
  },
  "hsl": {
    "h": 223.462,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64199,
    "c": 0.17516,
    "h": 266
  },
  "luminance": 0.25603
}

Semantic roles & 50–950 ramp

primary
#5A85F6
secondary
#F0E1BC
accent
#A600E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5A85F6

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

Preview Lab → · Contrast checker → · Palette generator →

#5A85F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva