#5F85FB#5F85FB

#5F85FB is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.8% C 0.180 H 267.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5F85FB
RGBrgb(95, 133, 251)
HSLhsl(225, 95%, 68%)
HSVhsv(225, 62%, 98%)
CMYKcmyk(62.2%, 47%, 0%, 1.6%)
CIE-LABlab(58.20, 22.54, -62.98)
CIE-LCHlch(58.20, 66.89, 289.70°)
OKLaboklab(64.78% -0.0071 -0.1801)
OKLCHoklch(64.78% 0.18 267.7)
XYZxyz(30.5135, 26.1703, 94.6914)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85FB #FBD55F
analogous
#5FD3FB #5F85FB #875FFB
triadic
#5F85FB #FB5F85 #85FB5F
tetradic
#5F85FB #FB5FD3 #FBD55F #5FFB87
square
#5F85FB #FB5FD3 #FBD55F #5FFB87
split-complementary
#5F85FB #FB875F #D3FB5F
monochromatic
#0539DA #2357FA #5F85FB #9BB3FC #D6E0FE

Accessibility & contrast

On white

3.37
#5F85FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#5F85FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85FB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85FB#FFFFFF#000000##000000
##5F85FB1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#2B85F9
Tritanopia (blue-blind)
#00A0B4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f85fb;
/* rgb */ color: rgb(95, 133, 251);
/* oklch */ color: oklch(64.8% 0.180 267.7);
Tailwind
colors: {
  custom: {
    50: '#9aa8fd',
    500: '#5f85fb',
    950: '#000000',
  },
}
SCSS
$custom: #5f85fb;
$custom-light: #9aa8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85fb",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 251
  },
  "hsl": {
    "h": 225.385,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64776,
    "c": 0.18029,
    "h": 267.7
  },
  "luminance": 0.26173
}

Semantic roles & 50–950 ramp

primary
#5F85FB
secondary
#F3E7C3
accent
#AE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5F85FB

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

Preview Lab → · Contrast checker → · Palette generator →

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