#5F83EB#5F83EB

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

Color values

HEX#5F83EB
RGBrgb(95, 131, 235)
HSLhsl(225, 78%, 65%)
HSVhsv(225, 60%, 92%)
CMYKcmyk(59.6%, 44.3%, 0%, 7.8%)
CIE-LABlab(56.74, 18.45, -56.45)
CIE-LCHlch(56.74, 59.39, 288.10°)
OKLaboklab(63.36% -0.0075 -0.161)
OKLCHoklch(63.36% 0.161 267.3)
XYZxyz(27.8259, 24.6613, 81.8749)
Luminance0.2466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F83EB #EBC75F
analogous
#5FC9EB #5F83EB #815FEB
triadic
#5F83EB #EB5F83 #83EB5F
tetradic
#5F83EB #EB5FC9 #EBC75F #5FEB81
square
#5F83EB #EB5FC9 #EBC75F #5FEB81
split-complementary
#5F83EB #EB815F #C9EB5F
monochromatic
#1741B9 #2959E4 #5F83EB #95ADF2 #CCD7F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F83EB#FFFFFF#000000##000000
##5F83EB1.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)
#538FEF
Deuteranopia (green-blind)
#3E82E9
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f83eb;
/* rgb */ color: rgb(95, 131, 235);
/* oklch */ color: oklch(63.4% 0.161 267.3);
Tailwind
colors: {
  custom: {
    50: '#97a6f2',
    500: '#5f83eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f83eb;
$custom-light: #97a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f83eb",
  "rgb": {
    "r": 95,
    "g": 131,
    "b": 235
  },
  "hsl": {
    "h": 224.571,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63364,
    "c": 0.16116,
    "h": 267.3
  },
  "luminance": 0.24664
}

Semantic roles & 50–950 ramp

primary
#5F83EB
secondary
#EBDFBB
accent
#A50BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F83EB

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

Preview Lab → · Contrast checker → · Palette generator →

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