#5F8BEE#5F8BEE

#5F8BEE is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.2% C 0.156 H 264.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5F8BEE
RGBrgb(95, 139, 238)
HSLhsl(222, 81%, 65%)
HSVhsv(222, 60%, 93%)
CMYKcmyk(60.1%, 41.6%, 0%, 6.7%)
CIE-LABlab(59.04, 14.63, -54.45)
CIE-LCHlch(59.04, 56.38, 285.04°)
OKLaboklab(65.18% -0.0151 -0.155)
OKLCHoklch(65.18% 0.156 264.4)
XYZxyz(29.3792, 27.0686, 84.5489)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8BEE #EEC25F
analogous
#5FD3EE #5F8BEE #7A5FEE
triadic
#5F8BEE #EE5F8B #8BEE5F
tetradic
#5F8BEE #EE5FD3 #EEC25F #5FEE7A
square
#5F8BEE #EE5FD3 #EEC25F #5FEE7A
split-complementary
#5F8BEE #EE7A5F #D3EE5F
monochromatic
#1449BE #2863E8 #5F8BEE #96B3F4 #CEDBFA

Accessibility & contrast

On white

3.27
#5F8BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#5F8BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8BEE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8BEE#FFFFFF#000000##000000
##5F8BEE1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F2
Deuteranopia (green-blind)
#4A88EC
Tritanopia (blue-blind)
#00A1B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f8bee;
/* rgb */ color: rgb(95, 139, 238);
/* oklch */ color: oklch(65.2% 0.156 264.4);
Tailwind
colors: {
  custom: {
    50: '#98acf4',
    500: '#5f8bee',
    950: '#000000',
  },
}
SCSS
$custom: #5f8bee;
$custom-light: #98acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8bee",
  "rgb": {
    "r": 95,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 221.538,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6518,
    "c": 0.15576,
    "h": 264.4
  },
  "luminance": 0.27071
}

Semantic roles & 50–950 ramp

primary
#5F8BEE
secondary
#ECDEBC
accent
#9C08DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F8BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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