#5F9EFF#5F9EFF

#5F9EFF is a light, vivid blue. Relative luminance 0.341; OKLCH L 70.1% C 0.157 H 258.8°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5F9EFF
RGBrgb(95, 158, 255)
HSLhsl(216, 100%, 69%)
HSVhsv(216, 63%, 100%)
CMYKcmyk(62.7%, 38%, 0%, 0%)
CIE-LABlab(65.04, 9.02, -54.24)
CIE-LCHlch(65.04, 54.98, 279.44°)
OKLaboklab(70.12% -0.0306 -0.1542)
OKLCHoklch(70.12% 0.157 258.8)
XYZxyz(34.9898, 34.1033, 99.3270)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9EFF #FFC05F
analogous
#5FEEFF #5F9EFF #705FFF
triadic
#5F9EFF #FF5F9E #9EFF5F
tetradic
#5F9EFF #FF5FEE #FFC05F #5FFF70
square
#5F9EFF #FF5FEE #FFC05F #5FFF70
split-complementary
#5F9EFF #FF705F #EEFF5F
monochromatic
#005AE4 #2279FF #5F9EFF #9CC3FF #D9E8FF

Accessibility & contrast

On white

2.68
#5F9EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#5F9EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9EFF
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9EFF#FFFFFF#000000##000000
##5F9EFF1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#5D97FD
Tritanopia (blue-blind)
#00B4C2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5f9eff;
/* rgb */ color: rgb(95, 158, 255);
/* oklch */ color: oklch(70.1% 0.157 258.8);
Tailwind
colors: {
  custom: {
    50: '#9abaff',
    500: '#5f9eff',
    950: '#000000',
  },
}
SCSS
$custom: #5f9eff;
$custom-light: #9abaff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9eff",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 255
  },
  "hsl": {
    "h": 216.375,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70118,
    "c": 0.15719,
    "h": 258.8
  },
  "luminance": 0.34107
}

Semantic roles & 50–950 ramp

primary
#5F9EFF
secondary
#F5E2C5
accent
#8B00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5F9EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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