#5FA0FE#5FA0FE

#5FA0FE is a light, vivid blue. Relative luminance 0.347; OKLCH L 70.5% C 0.154 H 257.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5FA0FE
RGBrgb(95, 160, 254)
HSLhsl(215, 99%, 68%)
HSVhsv(215, 63%, 100%)
CMYKcmyk(62.6%, 37%, 0%, 0.4%)
CIE-LABlab(65.54, 7.53, -52.91)
CIE-LCHlch(65.54, 53.45, 278.10°)
OKLaboklab(70.48% -0.0328 -0.1503)
OKLCHoklch(70.48% 0.154 257.7)
XYZxyz(35.1731, 34.7269, 98.5961)
Luminance0.3473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA0FE #FEBD5F
analogous
#5FEFFE #5FA0FE #6D5FFE
triadic
#5FA0FE #FE5FA0 #A0FE5F
tetradic
#5FA0FE #FE5FEF #FEBD5F #5FFE6D
square
#5FA0FE #FE5FEF #FEBD5F #5FFE6D
split-complementary
#5FA0FE #FE6D5F #EFFE5F
monochromatic
#015DE1 #227CFE #5FA0FE #9CC4FE #D9E8FF

Accessibility & contrast

On white

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

On black

7.95
#5FA0FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA0FE
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA0FE#FFFFFF#000000##000000
##5FA0FE1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#6198FC
Tritanopia (blue-blind)
#00B5C3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fa0fe;
/* rgb */ color: rgb(95, 160, 254);
/* oklch */ color: oklch(70.5% 0.154 257.7);
Tailwind
colors: {
  custom: {
    50: '#9abbff',
    500: '#5fa0fe',
    950: '#000000',
  },
}
SCSS
$custom: #5fa0fe;
$custom-light: #9abbff;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa0fe",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 254
  },
  "hsl": {
    "h": 215.472,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70483,
    "c": 0.15382,
    "h": 257.7
  },
  "luminance": 0.3473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5FA0FE

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

Preview Lab → · Contrast checker → · Palette generator →

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