#5F8BEB#5F8BEB

#5F8BEB is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.0% C 0.152 H 264.1°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5F8BEB
RGBrgb(95, 139, 235)
HSLhsl(221, 78%, 65%)
HSVhsv(221, 60%, 92%)
CMYKcmyk(59.6%, 40.9%, 0%, 7.8%)
CIE-LABlab(58.88, 13.64, -53.05)
CIE-LCHlch(58.88, 54.77, 284.42°)
OKLaboklab(65% -0.0156 -0.1509)
OKLCHoklch(65% 0.152 264.1)
XYZxyz(28.9422, 26.8938, 82.2470)
Luminance0.2690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8BEB #EBBF5F
analogous
#5FD1EB #5F8BEB #795FEB
triadic
#5F8BEB #EB5F8B #8BEB5F
tetradic
#5F8BEB #EB5FD1 #EBBF5F #5FEB79
square
#5F8BEB #EB5FD1 #EBBF5F #5FEB79
split-complementary
#5F8BEB #EB795F #D1EB5F
monochromatic
#174AB9 #2964E4 #5F8BEB #95B2F2 #CCDAF9

Accessibility & contrast

On white

3.29
#5F8BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#5F8BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8BEB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8BEB#FFFFFF#000000##000000
##5F8BEB1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195EF
Deuteranopia (green-blind)
#4D88E9
Tritanopia (blue-blind)
#00A1B0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f8beb;
/* rgb */ color: rgb(95, 139, 235);
/* oklch */ color: oklch(65.0% 0.152 264.1);
Tailwind
colors: {
  custom: {
    50: '#97acf2',
    500: '#5f8beb',
    950: '#000000',
  },
}
SCSS
$custom: #5f8beb;
$custom-light: #97acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8beb",
  "rgb": {
    "r": 95,
    "g": 139,
    "b": 235
  },
  "hsl": {
    "h": 221.143,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65003,
    "c": 0.15173,
    "h": 264.1
  },
  "luminance": 0.26896
}

Semantic roles & 50–950 ramp

primary
#5F8BEB
secondary
#EBDCBB
accent
#990BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F8BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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