#5982EB#5982EB

#5982EB is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.8% C 0.164 H 265.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5982EB
RGBrgb(89, 130, 235)
HSLhsl(223, 78%, 64%)
HSVhsv(223, 62%, 92%)
CMYKcmyk(62.1%, 44.7%, 0%, 7.8%)
CIE-LABlab(56.17, 17.97, -57.38)
CIE-LCHlch(56.17, 60.13, 287.39°)
OKLaboklab(62.84% -0.012 -0.1638)
OKLCHoklch(62.84% 0.164 265.8)
XYZxyz(27.0927, 24.0849, 81.8022)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982EB #EBC259
analogous
#59CBEB #5982EB #7959EB
triadic
#5982EB #EB5982 #82EB59
tetradic
#5982EB #EB59CB #EBC259 #59EB79
square
#5982EB #EB59CB #EBC259 #59EB79
split-complementary
#5982EB #EB7959 #CBEB59
monochromatic
#1642B4 #2259E4 #5982EB #90ABF2 #C6D4F8

Accessibility & contrast

On white

3.61
#5982EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5982EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982EB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982EB#FFFFFF#000000##000000
##5982EB1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EEF
Deuteranopia (green-blind)
#3880E9
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5982eb;
/* rgb */ color: rgb(89, 130, 235);
/* oklch */ color: oklch(62.8% 0.164 265.8);
Tailwind
colors: {
  custom: {
    50: '#95a5f2',
    500: '#5982eb',
    950: '#000000',
  },
}
SCSS
$custom: #5982eb;
$custom-light: #95a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5982eb",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 223.151,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62844,
    "c": 0.16429,
    "h": 265.8
  },
  "luminance": 0.24087
}

Semantic roles & 50–950 ramp

primary
#5982EB
secondary
#EADBB6
accent
#A00BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5982EB

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

Preview Lab → · Contrast checker → · Palette generator →

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