#5F8DEB#5F8DEB

#5F8DEB is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.4% C 0.149 H 263.2°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5F8DEB
RGBrgb(95, 141, 235)
HSLhsl(220, 78%, 65%)
HSVhsv(220, 60%, 92%)
CMYKcmyk(59.6%, 40%, 0%, 7.8%)
CIE-LABlab(59.41, 12.45, -52.19)
CIE-LCHlch(59.41, 53.66, 283.42°)
OKLaboklab(65.42% -0.0177 -0.1484)
OKLCHoklch(65.42% 0.149 263.2)
XYZxyz(29.2344, 27.4783, 82.3444)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8DEB #EBBD5F
analogous
#5FD3EB #5F8DEB #775FEB
triadic
#5F8DEB #EB5F8D #8DEB5F
tetradic
#5F8DEB #EB5FD3 #EBBD5F #5FEB77
square
#5F8DEB #EB5FD3 #EBBD5F #5FEB77
split-complementary
#5F8DEB #EB775F #D3EB5F
monochromatic
#174CB9 #2966E4 #5F8DEB #95B4F2 #CCDBF9

Accessibility & contrast

On white

3.23
#5F8DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#5F8DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8DEB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8DEB#FFFFFF#000000##000000
##5F8DEB1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EF
Deuteranopia (green-blind)
#5189E9
Tritanopia (blue-blind)
#00A2B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f8deb;
/* rgb */ color: rgb(95, 141, 235);
/* oklch */ color: oklch(65.4% 0.149 263.2);
Tailwind
colors: {
  custom: {
    50: '#97adf2',
    500: '#5f8deb',
    950: '#000000',
  },
}
SCSS
$custom: #5f8deb;
$custom-light: #97adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8deb",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 220.286,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65418,
    "c": 0.14943,
    "h": 263.2
  },
  "luminance": 0.27481
}

Semantic roles & 50–950 ramp

primary
#5F8DEB
secondary
#EBDBBB
accent
#960BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F8DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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