#5F9EF7#5F9EF7

#5F9EF7 is a light, vivid blue. Relative luminance 0.336; OKLCH L 69.7% C 0.147 H 257.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5F9EF7
RGBrgb(95, 158, 247)
HSLhsl(215, 90%, 67%)
HSVhsv(215, 62%, 97%)
CMYKcmyk(61.5%, 36%, 0%, 3.1%)
CIE-LABlab(64.64, 6.39, -50.51)
CIE-LCHlch(64.64, 50.91, 277.21°)
OKLaboklab(69.68% -0.0324 -0.1433)
OKLCHoklch(69.68% 0.147 257.2)
XYZxyz(33.7287, 33.5989, 92.6854)
Luminance0.3360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9EF7 #F7B85F
analogous
#5FEAF7 #5F9EF7 #6C5FF7
triadic
#5F9EF7 #F75F9E #9EF75F
tetradic
#5F9EF7 #F75FEA #F7B85F #5FF76C
square
#5F9EF7 #F75FEA #F7B85F #5FF76C
split-complementary
#5F9EF7 #F76C5F #EAF75F
monochromatic
#0A5DD1 #257BF4 #5F9EF7 #99C1FA #D4E5FD

Accessibility & contrast

On white

2.72
#5F9EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#5F9EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9EF7
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9EF7#FFFFFF#000000##000000
##5F9EF71.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FB
Deuteranopia (green-blind)
#6396F5
Tritanopia (blue-blind)
#00B2BF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5f9ef7;
/* rgb */ color: rgb(95, 158, 247);
/* oklch */ color: oklch(69.7% 0.147 257.2);
Tailwind
colors: {
  custom: {
    50: '#99bafa',
    500: '#5f9ef7',
    950: '#000000',
  },
}
SCSS
$custom: #5f9ef7;
$custom-light: #99bafa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9ef7",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 247
  },
  "hsl": {
    "h": 215.132,
    "s": 90.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69675,
    "c": 0.14689,
    "h": 257.2
  },
  "luminance": 0.33602
}

Semantic roles & 50–950 ramp

primary
#5F9EF7
secondary
#F1DDC1
accent
#8600E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F9EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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