#5F8DF5#5F8DF5

#5F8DF5 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.0% C 0.163 H 264.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5F8DF5
RGBrgb(95, 141, 245)
HSLhsl(222, 88%, 67%)
HSVhsv(222, 61%, 96%)
CMYKcmyk(61.2%, 42.4%, 0%, 3.9%)
CIE-LABlab(59.95, 15.75, -56.86)
CIE-LCHlch(59.95, 59.00, 285.48°)
OKLaboklab(66.01% -0.0158 -0.1621)
OKLCHoklch(66.01% 0.163 264.4)
XYZxyz(30.7199, 28.0725, 90.1681)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8DF5 #F5C75F
analogous
#5FD8F5 #5F8DF5 #7C5FF5
triadic
#5F8DF5 #F55F8D #8DF55F
tetradic
#5F8DF5 #F55FD8 #F5C75F #5FF57C
square
#5F8DF5 #F55FD8 #F5C75F #5FF57C
split-complementary
#5F8DF5 #F57C5F #D8F55F
monochromatic
#0D48CD #2564F1 #5F8DF5 #99B6F9 #D2DFFC

Accessibility & contrast

On white

3.17
#5F8DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#5F8DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8DF5
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8DF5#FFFFFF#000000##000000
##5F8DF51.003.176.616.61
#FFFFFF3.171.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E98F9
Deuteranopia (green-blind)
#478AF3
Tritanopia (blue-blind)
#00A4B5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5f8df5;
/* rgb */ color: rgb(95, 141, 245);
/* oklch */ color: oklch(66.0% 0.163 264.4);
Tailwind
colors: {
  custom: {
    50: '#99adf9',
    500: '#5f8df5',
    950: '#000000',
  },
}
SCSS
$custom: #5f8df5;
$custom-light: #99adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8df5",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 221.6,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6601,
    "c": 0.16284,
    "h": 264.4
  },
  "luminance": 0.28075
}

Semantic roles & 50–950 ramp

primary
#5F8DF5
secondary
#F0E1C0
accent
#9F01E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F8DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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