#5F85FE#5F85FE

#5F85FE is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.0% C 0.184 H 267.9°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5F85FE
RGBrgb(95, 133, 254)
HSLhsl(226, 99%, 68%)
HSVhsv(226, 63%, 100%)
CMYKcmyk(62.6%, 47.6%, 0%, 0.4%)
CIE-LABlab(58.38, 23.54, -64.34)
CIE-LCHlch(58.38, 68.51, 290.10°)
OKLaboklab(64.97% -0.0068 -0.1841)
OKLCHoklch(64.97% 0.184 267.9)
XYZxyz(30.9901, 26.3609, 97.2017)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85FE #FED85F
analogous
#5FD5FE #5F85FE #885FFE
triadic
#5F85FE #FE5F85 #85FE5F
tetradic
#5F85FE #FE5FD5 #FED85F #5FFE88
square
#5F85FE #FE5FD5 #FED85F #5FFE88
split-complementary
#5F85FE #FE885F #D5FE5F
monochromatic
#0137E1 #2257FE #5F85FE #9CB3FE #D9E2FF

Accessibility & contrast

On white

3.35
#5F85FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#5F85FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85FE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85FE#FFFFFF#000000##000000
##5F85FE1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#2486FB
Tritanopia (blue-blind)
#00A1B5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f85fe;
/* rgb */ color: rgb(95, 133, 254);
/* oklch */ color: oklch(65.0% 0.184 267.9);
Tailwind
colors: {
  custom: {
    50: '#9aa8ff',
    500: '#5f85fe',
    950: '#000000',
  },
}
SCSS
$custom: #5f85fe;
$custom-light: #9aa8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85fe",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 254
  },
  "hsl": {
    "h": 225.66,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6497,
    "c": 0.18427,
    "h": 267.9
  },
  "luminance": 0.26364
}

Semantic roles & 50–950 ramp

primary
#5F85FE
secondary
#F4E9C4
accent
#AF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5F85FE

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

Preview Lab → · Contrast checker → · Palette generator →

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