#5F9BF5#5F9BF5

#5F9BF5 is a light, vivid blue. Relative luminance 0.325; OKLCH L 68.9% C 0.147 H 258.3°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5F9BF5
RGBrgb(95, 155, 245)
HSLhsl(216, 88%, 67%)
HSVhsv(216, 61%, 96%)
CMYKcmyk(61.2%, 36.7%, 0%, 3.9%)
CIE-LABlab(63.73, 7.48, -50.86)
CIE-LCHlch(63.73, 51.41, 278.37°)
OKLaboklab(68.93% -0.0299 -0.1443)
OKLCHoklch(68.93% 0.147 258.3)
XYZxyz(32.9162, 32.4651, 90.9002)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9BF5 #F5B95F
analogous
#5FE6F5 #5F9BF5 #6E5FF5
triadic
#5F9BF5 #F55F9B #9BF55F
tetradic
#5F9BF5 #F55FE6 #F5B95F #5FF56E
square
#5F9BF5 #F55FE6 #F5B95F #5FF56E
split-complementary
#5F9BF5 #F56E5F #E6F55F
monochromatic
#0D5ACD #2577F1 #5F9BF5 #99BFF9 #D2E3FC

Accessibility & contrast

On white

2.80
#5F9BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#5F9BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9BF5
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9BF5#FFFFFF#000000##000000
##5F9BF51.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A2F9
Deuteranopia (green-blind)
#6094F3
Tritanopia (blue-blind)
#00AFBC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5f9bf5;
/* rgb */ color: rgb(95, 155, 245);
/* oklch */ color: oklch(68.9% 0.147 258.3);
Tailwind
colors: {
  custom: {
    50: '#98b8f9',
    500: '#5f9bf5',
    950: '#000000',
  },
}
SCSS
$custom: #5f9bf5;
$custom-light: #98b8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9bf5",
  "rgb": {
    "r": 95,
    "g": 155,
    "b": 245
  },
  "hsl": {
    "h": 216,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68928,
    "c": 0.1474,
    "h": 258.3
  },
  "luminance": 0.32468
}

Semantic roles & 50–950 ramp

primary
#5F9BF5
secondary
#F0DDC0
accent
#8A01E5
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F9BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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