#5F85EA#5F85EA

#5F85EA is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.7% C 0.157 H 266.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5F85EA
RGBrgb(95, 133, 234)
HSLhsl(224, 77%, 65%)
HSVhsv(224, 59%, 92%)
CMYKcmyk(59.4%, 43.2%, 0%, 8.2%)
CIE-LABlab(57.22, 16.91, -55.14)
CIE-LCHlch(57.22, 57.67, 287.05°)
OKLaboklab(63.71% -0.0097 -0.1571)
OKLCHoklch(63.71% 0.157 266.5)
XYZxyz(27.9531, 25.1461, 81.2066)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85EA #EAC45F
analogous
#5FCBEA #5F85EA #7F5FEA
triadic
#5F85EA #EA5F85 #85EA5F
tetradic
#5F85EA #EA5FCB #EAC45F #5FEA7F
square
#5F85EA #EA5FCB #EAC45F #5FEA7F
split-complementary
#5F85EA #EA7F5F #CBEA5F
monochromatic
#1843B7 #295CE3 #5F85EA #95AEF1 #CBD8F8

Accessibility & contrast

On white

3.48
#5F85EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#5F85EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85EA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85EA#FFFFFF#000000##000000
##5F85EA1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EE
Deuteranopia (green-blind)
#4383E8
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5f85ea;
/* rgb */ color: rgb(95, 133, 234);
/* oklch */ color: oklch(63.7% 0.157 266.5);
Tailwind
colors: {
  custom: {
    50: '#97a8f1',
    500: '#5f85ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f85ea;
$custom-light: #97a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85ea",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 223.597,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63709,
    "c": 0.15741,
    "h": 266.5
  },
  "luminance": 0.25148
}

Semantic roles & 50–950 ramp

primary
#5F85EA
secondary
#EADDBA
accent
#A10CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F85EA

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

Preview Lab → · Contrast checker → · Palette generator →

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