#5F9CF5#5F9CF5

#5F9CF5 is a light, vivid blue. Relative luminance 0.328; OKLCH L 69.1% C 0.146 H 257.8°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5F9CF5
RGBrgb(95, 156, 245)
HSLhsl(216, 88%, 67%)
HSVhsv(216, 61%, 96%)
CMYKcmyk(61.2%, 36.3%, 0%, 3.9%)
CIE-LABlab(64.00, 6.90, -50.43)
CIE-LCHlch(64.00, 50.90, 277.79°)
OKLaboklab(69.14% -0.0309 -0.1431)
OKLCHoklch(69.14% 0.146 257.8)
XYZxyz(33.0834, 32.7994, 90.9559)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9CF5 #F5B85F
analogous
#5FE7F5 #5F9CF5 #6D5FF5
triadic
#5F9CF5 #F55F9C #9CF55F
tetradic
#5F9CF5 #F55FE7 #F5B85F #5FF56D
square
#5F9CF5 #F55FE7 #F5B85F #5FF56D
split-complementary
#5F9CF5 #F56D5F #E7F55F
monochromatic
#0D5BCD #2578F1 #5F9CF5 #99C0F9 #D2E3FC

Accessibility & contrast

On white

2.78
#5F9CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#5F9CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9CF5
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9CF5#FFFFFF#000000##000000
##5F9CF51.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A3F9
Deuteranopia (green-blind)
#6195F3
Tritanopia (blue-blind)
#00B0BD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5f9cf5;
/* rgb */ color: rgb(95, 156, 245);
/* oklch */ color: oklch(69.1% 0.146 257.8);
Tailwind
colors: {
  custom: {
    50: '#98b8f9',
    500: '#5f9cf5',
    950: '#000000',
  },
}
SCSS
$custom: #5f9cf5;
$custom-light: #98b8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9cf5",
  "rgb": {
    "r": 95,
    "g": 156,
    "b": 245
  },
  "hsl": {
    "h": 215.6,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6914,
    "c": 0.14637,
    "h": 257.8
  },
  "luminance": 0.32802
}

Semantic roles & 50–950 ramp

primary
#5F9CF5
secondary
#F0DCC0
accent
#8801E5
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F9CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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