#5F8CF0#5F8CF0

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

Color values

HEX#5F8CF0
RGBrgb(95, 140, 240)
HSLhsl(221, 83%, 66%)
HSVhsv(221, 60%, 94%)
CMYKcmyk(60.4%, 41.7%, 0%, 5.9%)
CIE-LABlab(59.41, 14.69, -54.96)
CIE-LCHlch(59.41, 56.89, 284.97°)
OKLaboklab(65.51% -0.0157 -0.1565)
OKLCHoklch(65.51% 0.157 264.3)
XYZxyz(29.8201, 27.4777, 86.1534)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8CF0 #F0C35F
analogous
#5FD5F0 #5F8CF0 #7A5FF0
triadic
#5F8CF0 #F05F8C #8CF05F
tetradic
#5F8CF0 #F05FD5 #F0C35F #5FF07A
square
#5F8CF0 #F05FD5 #F0C35F #5FF07A
split-complementary
#5F8CF0 #F07A5F #D5F05F
monochromatic
#1249C2 #2764EB #5F8CF0 #97B4F5 #CFDCFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F8CF0#FFFFFF#000000##000000
##5F8CF01.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)
#5F96F4
Deuteranopia (green-blind)
#4A89EE
Tritanopia (blue-blind)
#00A2B2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f8cf0;
/* rgb */ color: rgb(95, 140, 240);
/* oklch */ color: oklch(65.5% 0.157 264.3);
Tailwind
colors: {
  custom: {
    50: '#98adf5',
    500: '#5f8cf0',
    950: '#000000',
  },
}
SCSS
$custom: #5f8cf0;
$custom-light: #98adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8cf0",
  "rgb": {
    "r": 95,
    "g": 140,
    "b": 240
  },
  "hsl": {
    "h": 221.379,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65505,
    "c": 0.1573,
    "h": 264.3
  },
  "luminance": 0.2748
}

Semantic roles & 50–950 ramp

primary
#5F8CF0
secondary
#EEDFBD
accent
#9C06DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F8CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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