#5982F1#5982F1

#5982F1 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.2% C 0.172 H 266.3°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5982F1
RGBrgb(89, 130, 241)
HSLhsl(224, 84%, 65%)
HSVhsv(224, 63%, 95%)
CMYKcmyk(63.1%, 46.1%, 0%, 5.5%)
CIE-LABlab(56.52, 19.99, -60.15)
CIE-LCHlch(56.52, 63.39, 288.38°)
OKLaboklab(63.22% -0.0111 -0.172)
OKLCHoklch(63.22% 0.172 266.3)
XYZxyz(27.9742, 24.4374, 86.4447)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982F1 #F1C859
analogous
#59CEF1 #5982F1 #7C59F1
triadic
#5982F1 #F15982 #82F159
tetradic
#5982F1 #F159CE #F1C859 #59F17C
square
#5982F1 #F159CE #F1C859 #59F17C
split-complementary
#5982F1 #F17C59 #CEF159
monochromatic
#103FBF #2157EC #5982F1 #91ADF6 #CAD7FB

Accessibility & contrast

On white

3.57
#5982F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5982F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982F1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982F1#FFFFFF#000000##000000
##5982F11.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8FF5
Deuteranopia (green-blind)
#2F81EF
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5982f1;
/* rgb */ color: rgb(89, 130, 241);
/* oklch */ color: oklch(63.2% 0.172 266.3);
Tailwind
colors: {
  custom: {
    50: '#95a5f6',
    500: '#5982f1',
    950: '#000000',
  },
}
SCSS
$custom: #5982f1;
$custom-light: #95a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5982f1",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 241
  },
  "hsl": {
    "h": 223.816,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63225,
    "c": 0.17236,
    "h": 266.3
  },
  "luminance": 0.2444
}

Semantic roles & 50–950 ramp

primary
#5982F1
secondary
#EDDFB9
accent
#A505E1
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5982F1

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

Preview Lab → · Contrast checker → · Palette generator →

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