#5FA0FC#5FA0FC

#5FA0FC is a light, vivid blue. Relative luminance 0.346; OKLCH L 70.4% C 0.151 H 257.3°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#5FA0FC
RGBrgb(95, 160, 252)
HSLhsl(215, 96%, 68%)
HSVhsv(215, 62%, 99%)
CMYKcmyk(62.3%, 36.5%, 0%, 1.2%)
CIE-LABlab(65.44, 6.87, -51.98)
CIE-LCHlch(65.44, 52.43, 277.53°)
OKLaboklab(70.37% -0.0333 -0.1475)
OKLCHoklch(70.37% 0.151 257.3)
XYZxyz(34.8545, 34.5995, 96.9181)
Luminance0.3460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA0FC #FCBB5F
analogous
#5FEFFC #5FA0FC #6C5FFC
triadic
#5FA0FC #FC5FA0 #A0FC5F
tetradic
#5FA0FC #FC5FEF #FCBB5F #5FFC6C
square
#5FA0FC #FC5FEF #FCBB5F #5FFC6C
split-complementary
#5FA0FC #FC6C5F #EFFC5F
monochromatic
#045EDC #237CFB #5FA0FC #9BC4FD #D7E7FE

Accessibility & contrast

On white

2.65
#5FA0FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#5FA0FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA0FC
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA0FC#FFFFFF#000000##000000
##5FA0FC1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#6298FA
Tritanopia (blue-blind)
#00B5C2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fa0fc;
/* rgb */ color: rgb(95, 160, 252);
/* oklch */ color: oklch(70.4% 0.151 257.3);
Tailwind
colors: {
  custom: {
    50: '#99bbfe',
    500: '#5fa0fc',
    950: '#000000',
  },
}
SCSS
$custom: #5fa0fc;
$custom-light: #99bbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa0fc",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 252
  },
  "hsl": {
    "h": 215.159,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70373,
    "c": 0.15126,
    "h": 257.3
  },
  "luminance": 0.34603
}

Semantic roles & 50–950 ramp

primary
#5FA0FC
secondary
#F3E0C3
accent
#8600E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5FA0FC

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

Preview Lab → · Contrast checker → · Palette generator →

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