#5F8CF3#5F8CF3

#5F8CF3 is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.7% C 0.161 H 264.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5F8CF3
RGBrgb(95, 140, 243)
HSLhsl(222, 86%, 66%)
HSVhsv(222, 61%, 95%)
CMYKcmyk(60.9%, 42.4%, 0%, 4.7%)
CIE-LABlab(59.58, 15.68, -56.36)
CIE-LCHlch(59.58, 58.50, 285.55°)
OKLaboklab(65.68% -0.0152 -0.1606)
OKLCHoklch(65.68% 0.161 264.6)
XYZxyz(30.2695, 27.6575, 88.5199)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8CF3 #F3C65F
analogous
#5FD6F3 #5F8CF3 #7C5FF3
triadic
#5F8CF3 #F35F8C #8CF35F
tetradic
#5F8CF3 #F35FD6 #F3C65F #5FF37C
square
#5F8CF3 #F35FD6 #F3C65F #5FF37C
split-complementary
#5F8CF3 #F37C5F #D6F35F
monochromatic
#0F47C9 #2663EF #5F8CF3 #98B5F7 #D1DEFC

Accessibility & contrast

On white

3.21
#5F8CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#5F8CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8CF3
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8CF3#FFFFFF#000000##000000
##5F8CF31.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D97F7
Deuteranopia (green-blind)
#4789F1
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f8cf3;
/* rgb */ color: rgb(95, 140, 243);
/* oklch */ color: oklch(65.7% 0.161 264.6);
Tailwind
colors: {
  custom: {
    50: '#98adf7',
    500: '#5f8cf3',
    950: '#000000',
  },
}
SCSS
$custom: #5f8cf3;
$custom-light: #98adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8cf3",
  "rgb": {
    "r": 95,
    "g": 140,
    "b": 243
  },
  "hsl": {
    "h": 221.757,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65684,
    "c": 0.16133,
    "h": 264.6
  },
  "luminance": 0.2766
}

Semantic roles & 50–950 ramp

primary
#5F8CF3
secondary
#EFE0BF
accent
#9F03E3
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F8CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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