#5F82EF#5F82EF

#5F82EF is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.4% C 0.168 H 268.0°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5F82EF
RGBrgb(95, 130, 239)
HSLhsl(225, 82%, 65%)
HSVhsv(225, 60%, 94%)
CMYKcmyk(60.3%, 45.6%, 0%, 6.3%)
CIE-LABlab(56.71, 20.38, -58.72)
CIE-LCHlch(56.71, 62.16, 289.14°)
OKLaboklab(63.41% -0.0058 -0.1677)
OKLCHoklch(63.41% 0.168 268)
XYZxyz(28.2767, 24.6278, 84.9081)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F82EF #EFCC5F
analogous
#5FCAEF #5F82EF #845FEF
triadic
#5F82EF #EF5F82 #82EF5F
tetradic
#5F82EF #EF5FCA #EFCC5F #5FEF84
square
#5F82EF #EF5FCA #EFCC5F #5FEF84
split-complementary
#5F82EF #EF845F #CAEF5F
monochromatic
#133DC0 #2757E9 #5F82EF #97ADF5 #CED9FA

Accessibility & contrast

On white

3.54
#5F82EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5F82EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F82EF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F82EF#FFFFFF#000000##000000
##5F82EF1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#3682ED
Tritanopia (blue-blind)
#009BAD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f82ef;
/* rgb */ color: rgb(95, 130, 239);
/* oklch */ color: oklch(63.4% 0.168 268.0);
Tailwind
colors: {
  custom: {
    50: '#98a5f5',
    500: '#5f82ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f82ef;
$custom-light: #98a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f82ef",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 225.417,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63413,
    "c": 0.16779,
    "h": 268
  },
  "luminance": 0.2463
}

Semantic roles & 50–950 ramp

primary
#5F82EF
secondary
#EDE1BD
accent
#AA07DE
background
#FAFAFF
surface
#F3F4FE
border
#CDCED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5F82EF

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

Preview Lab → · Contrast checker → · Palette generator →

#5F82EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva