#5F8AEB#5F8AEB

#5F8AEB is a light, vivid blue. Relative luminance 0.266; OKLCH L 64.8% C 0.153 H 264.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5F8AEB
RGBrgb(95, 138, 235)
HSLhsl(222, 78%, 65%)
HSVhsv(222, 60%, 92%)
CMYKcmyk(59.6%, 41.3%, 0%, 7.8%)
CIE-LABlab(58.61, 14.24, -53.48)
CIE-LCHlch(58.61, 55.34, 284.91°)
OKLaboklab(64.8% -0.0146 -0.1522)
OKLCHoklch(64.8% 0.153 264.5)
XYZxyz(28.7980, 26.6056, 82.1989)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8AEB #EBC05F
analogous
#5FD0EB #5F8AEB #7A5FEB
triadic
#5F8AEB #EB5F8A #8AEB5F
tetradic
#5F8AEB #EB5FD0 #EBC05F #5FEB7A
square
#5F8AEB #EB5FD0 #EBC05F #5FEB7A
split-complementary
#5F8AEB #EB7A5F #D0EB5F
monochromatic
#1749B9 #2962E4 #5F8AEB #95B2F2 #CCDAF9

Accessibility & contrast

On white

3.32
#5F8AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#5F8AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8AEB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8AEB#FFFFFF#000000##000000
##5F8AEB1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#4C87E9
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5f8aeb;
/* rgb */ color: rgb(95, 138, 235);
/* oklch */ color: oklch(64.8% 0.153 264.5);
Tailwind
colors: {
  custom: {
    50: '#97abf2',
    500: '#5f8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #5f8aeb;
$custom-light: #97abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8aeb",
  "rgb": {
    "r": 95,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 221.571,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64796,
    "c": 0.15288,
    "h": 264.5
  },
  "luminance": 0.26608
}

Semantic roles & 50–950 ramp

primary
#5F8AEB
secondary
#EBDCBB
accent
#9B0BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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