#5F85E2#5F85E2

#5F85E2 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.2% C 0.146 H 265.7°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5F85E2
RGBrgb(95, 133, 226)
HSLhsl(223, 69%, 63%)
HSVhsv(223, 58%, 89%)
CMYKcmyk(58%, 41.2%, 0%, 11.4%)
CIE-LABlab(56.78, 14.29, -51.38)
CIE-LCHlch(56.78, 53.33, 285.54°)
OKLaboklab(63.23% -0.0111 -0.1461)
OKLCHoklch(63.23% 0.147 265.7)
XYZxyz(26.8296, 24.6968, 75.2899)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85E2 #E2BC5F
analogous
#5FC7E2 #5F85E2 #7A5FE2
triadic
#5F85E2 #E25F85 #85E25F
tetradic
#5F85E2 #E25FC7 #E2BC5F #5FE27A
square
#5F85E2 #E25FC7 #E2BC5F #5FE27A
split-complementary
#5F85E2 #E27A5F #C7E25F
monochromatic
#1E46A8 #2B5DD9 #5F85E2 #93ADEB #C7D4F5

Accessibility & contrast

On white

3.54
#5F85E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#5F85E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85E2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85E2#FFFFFF#000000##000000
##5F85E21.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8FE6
Deuteranopia (green-blind)
#4B83E0
Tritanopia (blue-blind)
#009AA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f85e2;
/* rgb */ color: rgb(95, 133, 226);
/* oklch */ color: oklch(63.2% 0.146 265.7);
Tailwind
colors: {
  custom: {
    50: '#96a8eb',
    500: '#5f85e2',
    950: '#000000',
  },
}
SCSS
$custom: #5f85e2;
$custom-light: #96a8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85e2",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 226
  },
  "hsl": {
    "h": 222.595,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63229,
    "c": 0.1465,
    "h": 265.7
  },
  "luminance": 0.24699
}

Semantic roles & 50–950 ramp

primary
#5F85E2
secondary
#E6D8B7
accent
#9A14D1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5F85E2

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

Preview Lab → · Contrast checker → · Palette generator →

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