#5F9DFF#5F9DFF

#5F9DFF is a light, vivid blue. Relative luminance 0.338; OKLCH L 69.9% C 0.158 H 259.2°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5F9DFF
RGBrgb(95, 157, 255)
HSLhsl(217, 100%, 69%)
HSVhsv(217, 63%, 100%)
CMYKcmyk(62.7%, 38.4%, 0%, 0%)
CIE-LABlab(64.77, 9.60, -54.67)
CIE-LCHlch(64.77, 55.50, 279.96°)
OKLaboklab(69.91% -0.0296 -0.1554)
OKLCHoklch(69.91% 0.158 259.2)
XYZxyz(34.8199, 33.7636, 99.2704)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9DFF #FFC15F
analogous
#5FEDFF #5F9DFF #715FFF
triadic
#5F9DFF #FF5F9D #9DFF5F
tetradic
#5F9DFF #FF5FED #FFC15F #5FFF71
square
#5F9DFF #FF5FED #FFC15F #5FFF71
split-complementary
#5F9DFF #FF715F #EDFF5F
monochromatic
#0058E4 #2278FF #5F9DFF #9CC2FF #D9E8FF

Accessibility & contrast

On white

2.71
#5F9DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#5F9DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9DFF
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9DFF#FFFFFF#000000##000000
##5F9DFF1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#5B96FD
Tritanopia (blue-blind)
#00B3C2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5f9dff;
/* rgb */ color: rgb(95, 157, 255);
/* oklch */ color: oklch(69.9% 0.158 259.2);
Tailwind
colors: {
  custom: {
    50: '#9ab9ff',
    500: '#5f9dff',
    950: '#000000',
  },
}
SCSS
$custom: #5f9dff;
$custom-light: #9ab9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9dff",
  "rgb": {
    "r": 95,
    "g": 157,
    "b": 255
  },
  "hsl": {
    "h": 216.75,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69908,
    "c": 0.15825,
    "h": 259.2
  },
  "luminance": 0.33767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F9DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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