#5982F6#5982F6

#5982F6 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.5% C 0.179 H 266.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5982F6
RGBrgb(89, 130, 246)
HSLhsl(224, 90%, 66%)
HSVhsv(224, 64%, 96%)
CMYKcmyk(63.8%, 47.2%, 0%, 3.5%)
CIE-LABlab(56.82, 21.68, -62.44)
CIE-LCHlch(56.82, 66.10, 289.15°)
OKLaboklab(63.55% -0.0104 -0.1787)
OKLCHoklch(63.55% 0.179 266.7)
XYZxyz(28.7313, 24.7403, 90.4321)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982F6 #F6CD59
analogous
#59D1F6 #5982F6 #7E59F6
triadic
#5982F6 #F65982 #82F659
tetradic
#5982F6 #F659D1 #F6CD59 #59F67E
square
#5982F6 #F659D1 #F6CD59 #59F67E
split-complementary
#5982F6 #F67E59 #D1F659
monochromatic
#0B3DCA #1F56F3 #5982F6 #93AEF9 #CDD9FC

Accessibility & contrast

On white

3.53
#5982F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#5982F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982F6
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982F6#FFFFFF#000000##000000
##5982F61.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4690FA
Deuteranopia (green-blind)
#2582F4
Tritanopia (blue-blind)
#009DB0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5982f6;
/* rgb */ color: rgb(89, 130, 246);
/* oklch */ color: oklch(63.5% 0.179 266.7);
Tailwind
colors: {
  custom: {
    50: '#96a5fa',
    500: '#5982f6',
    950: '#000000',
  },
}
SCSS
$custom: #5982f6;
$custom-light: #96a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5982f6",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 246
  },
  "hsl": {
    "h": 224.331,
    "s": 89.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63549,
    "c": 0.17904,
    "h": 266.7
  },
  "luminance": 0.24743
}

Semantic roles & 50–950 ramp

primary
#5982F6
secondary
#F0E2BB
accent
#AA00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5982F6

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

Preview Lab → · Contrast checker → · Palette generator →

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