#5F8BF5#5F8BF5

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

Color values

HEX#5F8BF5
RGBrgb(95, 139, 245)
HSLhsl(222, 88%, 67%)
HSVhsv(222, 61%, 96%)
CMYKcmyk(61.2%, 43.3%, 0%, 3.9%)
CIE-LABlab(59.42, 16.94, -57.71)
CIE-LCHlch(59.42, 60.14, 286.36°)
OKLaboklab(65.6% -0.0138 -0.1646)
OKLCHoklch(65.6% 0.165 265.2)
XYZxyz(30.4277, 27.4880, 90.0707)
Luminance0.2749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8BF5 #F5C95F
analogous
#5FD6F5 #5F8BF5 #7E5FF5
triadic
#5F8BF5 #F55F8B #8BF55F
tetradic
#5F8BF5 #F55FD6 #F5C95F #5FF57E
square
#5F8BF5 #F55FD6 #F5C95F #5FF57E
split-complementary
#5F8BF5 #F57E5F #D6F55F
monochromatic
#0D45CD #2561F1 #5F8BF5 #99B5F9 #D2DFFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F8BF5#FFFFFF#000000##000000
##5F8BF51.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)
#5A96F9
Deuteranopia (green-blind)
#4389F3
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f8bf5;
/* rgb */ color: rgb(95, 139, 245);
/* oklch */ color: oklch(65.6% 0.165 265.2);
Tailwind
colors: {
  custom: {
    50: '#99acf9',
    500: '#5f8bf5',
    950: '#000000',
  },
}
SCSS
$custom: #5f8bf5;
$custom-light: #99acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8bf5",
  "rgb": {
    "r": 95,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 222.4,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65601,
    "c": 0.16516,
    "h": 265.2
  },
  "luminance": 0.27491
}

Semantic roles & 50–950 ramp

primary
#5F8BF5
secondary
#F0E2C0
accent
#A201E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F8BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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