#5F85FD#5F85FD

#5F85FD is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.9% C 0.183 H 267.8°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5F85FD
RGBrgb(95, 133, 253)
HSLhsl(226, 98%, 68%)
HSVhsv(226, 62%, 99%)
CMYKcmyk(62.5%, 47.4%, 0%, 0.8%)
CIE-LABlab(58.32, 23.21, -63.88)
CIE-LCHlch(58.32, 67.97, 289.97°)
OKLaboklab(64.91% -0.0069 -0.1828)
OKLCHoklch(64.91% 0.183 267.8)
XYZxyz(30.8304, 26.2971, 96.3606)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85FD #FDD75F
analogous
#5FD4FD #5F85FD #885FFD
triadic
#5F85FD #FD5F85 #85FD5F
tetradic
#5F85FD #FD5FD4 #FDD75F #5FFD88
square
#5F85FD #FD5FD4 #FDD75F #5FFD88
split-complementary
#5F85FD #FD885F #D4FD5F
monochromatic
#0338DF #2357FC #5F85FD #9BB3FE #D8E1FF

Accessibility & contrast

On white

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

On black

6.26
#5F85FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85FD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85FD#FFFFFF#000000##000000
##5F85FD1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f85fd;
/* rgb */ color: rgb(95, 133, 253);
/* oklch */ color: oklch(64.9% 0.183 267.8);
Tailwind
colors: {
  custom: {
    50: '#9aa8ff',
    500: '#5f85fd',
    950: '#000000',
  },
}
SCSS
$custom: #5f85fd;
$custom-light: #9aa8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85fd",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 253
  },
  "hsl": {
    "h": 225.57,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64905,
    "c": 0.18295,
    "h": 267.8
  },
  "luminance": 0.263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F85FD

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

Preview Lab → · Contrast checker → · Palette generator →

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