#5F9CFE#5F9CFE

#5F9CFE is a light, vivid blue. Relative luminance 0.334; OKLCH L 69.6% C 0.158 H 259.5°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#5F9CFE
RGBrgb(95, 156, 254)
HSLhsl(217, 99%, 68%)
HSVhsv(217, 63%, 100%)
CMYKcmyk(62.6%, 38.6%, 0%, 0.4%)
CIE-LABlab(64.45, 9.85, -54.63)
CIE-LCHlch(64.45, 55.51, 280.23°)
OKLaboklab(69.64% -0.0289 -0.1553)
OKLCHoklch(69.64% 0.158 259.5)
XYZxyz(34.4908, 33.3624, 98.3686)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9CFE #FEC15F
analogous
#5FECFE #5F9CFE #715FFE
triadic
#5F9CFE #FE5F9C #9CFE5F
tetradic
#5F9CFE #FE5FEC #FEC15F #5FFE71
square
#5F9CFE #FE5FEC #FEC15F #5FFE71
split-complementary
#5F9CFE #FE715F #ECFE5F
monochromatic
#0157E1 #2276FE #5F9CFE #9CC2FE #D9E7FF

Accessibility & contrast

On white

2.74
#5F9CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#5F9CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9CFE
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9CFE#FFFFFF#000000##000000
##5F9CFE1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#5A95FC
Tritanopia (blue-blind)
#00B2C1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5f9cfe;
/* rgb */ color: rgb(95, 156, 254);
/* oklch */ color: oklch(69.6% 0.158 259.5);
Tailwind
colors: {
  custom: {
    50: '#9ab8ff',
    500: '#5f9cfe',
    950: '#000000',
  },
}
SCSS
$custom: #5f9cfe;
$custom-light: #9ab8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9cfe",
  "rgb": {
    "r": 95,
    "g": 156,
    "b": 254
  },
  "hsl": {
    "h": 216.981,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69642,
    "c": 0.15801,
    "h": 259.5
  },
  "luminance": 0.33366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F9CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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