#5FA0FF#5FA0FF

#5FA0FF is a light, vivid blue. Relative luminance 0.348; OKLCH L 70.5% C 0.155 H 257.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5FA0FF
RGBrgb(95, 160, 255)
HSLhsl(216, 100%, 69%)
HSVhsv(216, 63%, 100%)
CMYKcmyk(62.7%, 37.3%, 0%, 0%)
CIE-LABlab(65.59, 7.85, -53.38)
CIE-LCHlch(65.59, 53.95, 278.37°)
OKLaboklab(70.54% -0.0326 -0.1516)
OKLCHoklch(70.54% 0.155 257.9)
XYZxyz(35.3337, 34.7912, 99.4416)
Luminance0.3479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA0FF #FFBE5F
analogous
#5FF0FF #5FA0FF #6E5FFF
triadic
#5FA0FF #FF5FA0 #A0FF5F
tetradic
#5FA0FF #FF5FF0 #FFBE5F #5FFF6E
square
#5FA0FF #FF5FF0 #FFBE5F #5FFF6E
split-complementary
#5FA0FF #FF6E5F #F0FF5F
monochromatic
#005CE4 #227CFF #5FA0FF #9CC4FF #D9E9FF

Accessibility & contrast

On white

2.64
#5FA0FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#5FA0FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA0FF
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA0FF#FFFFFF#000000##000000
##5FA0FF1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#6098FD
Tritanopia (blue-blind)
#00B6C3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fa0ff;
/* rgb */ color: rgb(95, 160, 255);
/* oklch */ color: oklch(70.5% 0.155 257.9);
Tailwind
colors: {
  custom: {
    50: '#9abbff',
    500: '#5fa0ff',
    950: '#000000',
  },
}
SCSS
$custom: #5fa0ff;
$custom-light: #9abbff;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa0ff",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 255
  },
  "hsl": {
    "h": 215.625,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70539,
    "c": 0.1551,
    "h": 257.9
  },
  "luminance": 0.34795
}

Semantic roles & 50–950 ramp

primary
#5FA0FF
secondary
#F5E1C5
accent
#8800E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5FA0FF

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

Preview Lab → · Contrast checker → · Palette generator →

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