#5985EA#5985EA

#5985EA is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.4% C 0.159 H 264.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5985EA
RGBrgb(89, 133, 234)
HSLhsl(222, 78%, 63%)
HSVhsv(222, 62%, 92%)
CMYKcmyk(62%, 43.2%, 0%, 8.2%)
CIE-LABlab(56.92, 15.82, -55.63)
CIE-LCHlch(56.92, 57.84, 285.87°)
OKLaboklab(63.4% -0.0151 -0.1587)
OKLCHoklch(63.4% 0.159 264.6)
XYZxyz(27.3535, 24.8370, 81.1785)
Luminance0.2484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5985EA #EABE59
analogous
#59CDEA #5985EA #7559EA
triadic
#5985EA #EA5985 #85EA59
tetradic
#5985EA #EA59CD #EABE59 #59EA75
square
#5985EA #EA59CD #EABE59 #59EA75
split-complementary
#5985EA #EA7559 #CDEA59
monochromatic
#1746B2 #235DE3 #5985EA #8FADF1 #C6D5F8

Accessibility & contrast

On white

3.52
#5985EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#5985EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5985EA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5985EA#FFFFFF#000000##000000
##5985EA1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EE
Deuteranopia (green-blind)
#4082E8
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5985ea;
/* rgb */ color: rgb(89, 133, 234);
/* oklch */ color: oklch(63.4% 0.159 264.6);
Tailwind
colors: {
  custom: {
    50: '#94a8f1',
    500: '#5985ea',
    950: '#000000',
  },
}
SCSS
$custom: #5985ea;
$custom-light: #94a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5985ea",
  "rgb": {
    "r": 89,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 221.793,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63396,
    "c": 0.1594,
    "h": 264.6
  },
  "luminance": 0.24839
}

Semantic roles & 50–950 ramp

primary
#5985EA
secondary
#E9DAB6
accent
#9B0CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5985EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5985EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva