#5FA0FB#5FA0FB

#5FA0FB is a light, vivid blue. Relative luminance 0.345; OKLCH L 70.3% C 0.150 H 257.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#5FA0FB
RGBrgb(95, 160, 251)
HSLhsl(215, 95%, 68%)
HSVhsv(215, 62%, 98%)
CMYKcmyk(62.2%, 36.3%, 0%, 1.6%)
CIE-LABlab(65.39, 6.54, -51.52)
CIE-LCHlch(65.39, 51.93, 277.24°)
OKLaboklab(70.32% -0.0335 -0.1462)
OKLCHoklch(70.32% 0.15 257.1)
XYZxyz(34.6965, 34.5363, 96.0858)
Luminance0.3454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA0FB #FBBA5F
analogous
#5FEEFB #5FA0FB #6C5FFB
triadic
#5FA0FB #FB5FA0 #A0FB5F
tetradic
#5FA0FB #FB5FEE #FBBA5F #5FFB6C
square
#5FA0FB #FB5FEE #FBBA5F #5FFB6C
split-complementary
#5FA0FB #FB6C5F #EEFB5F
monochromatic
#055EDA #237DFA #5FA0FB #9BC3FC #D6E7FE

Accessibility & contrast

On white

2.66
#5FA0FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#5FA0FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA0FB
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA0FB#FFFFFF#000000##000000
##5FA0FB1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#6398F9
Tritanopia (blue-blind)
#00B5C2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fa0fb;
/* rgb */ color: rgb(95, 160, 251);
/* oklch */ color: oklch(70.3% 0.150 257.1);
Tailwind
colors: {
  custom: {
    50: '#99bbfd',
    500: '#5fa0fb',
    950: '#000000',
  },
}
SCSS
$custom: #5fa0fb;
$custom-light: #99bbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa0fb",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 251
  },
  "hsl": {
    "h": 215,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70318,
    "c": 0.14998,
    "h": 257.1
  },
  "luminance": 0.3454
}

Semantic roles & 50–950 ramp

primary
#5FA0FB
secondary
#F3DFC3
accent
#8600E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5FA0FB

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

Preview Lab → · Contrast checker → · Palette generator →

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