#5985EB#5985EB

#5985EB is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.5% C 0.161 H 264.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5985EB
RGBrgb(89, 133, 235)
HSLhsl(222, 78%, 64%)
HSVhsv(222, 62%, 92%)
CMYKcmyk(62.1%, 43.4%, 0%, 7.8%)
CIE-LABlab(56.97, 16.15, -56.10)
CIE-LCHlch(56.97, 58.38, 286.06°)
OKLaboklab(63.46% -0.0149 -0.1601)
OKLCHoklch(63.46% 0.161 264.7)
XYZxyz(27.4976, 24.8946, 81.9372)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5985EB #EBBF59
analogous
#59CEEB #5985EB #7659EB
triadic
#5985EB #EB5985 #85EB59
tetradic
#5985EB #EB59CE #EBBF59 #59EB76
square
#5985EB #EB59CE #EBBF59 #59EB76
split-complementary
#5985EB #EB7659 #CEEB59
monochromatic
#1645B4 #225DE4 #5985EB #90ADF2 #C6D5F8

Accessibility & contrast

On white

3.51
#5985EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5985EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5985EB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5985EB#FFFFFF#000000##000000
##5985EB1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#3F83E9
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5985eb;
/* rgb */ color: rgb(89, 133, 235);
/* oklch */ color: oklch(63.5% 0.161 264.7);
Tailwind
colors: {
  custom: {
    50: '#94a8f2',
    500: '#5985eb',
    950: '#000000',
  },
}
SCSS
$custom: #5985eb;
$custom-light: #94a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5985eb",
  "rgb": {
    "r": 89,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 221.918,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63458,
    "c": 0.16075,
    "h": 264.7
  },
  "luminance": 0.24897
}

Semantic roles & 50–950 ramp

primary
#5985EB
secondary
#EADAB6
accent
#9C0BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5985EB

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

Preview Lab → · Contrast checker → · Palette generator →

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