#5F85F2#5F85F2

#5F85F2 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.2% C 0.168 H 267.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5F85F2
RGBrgb(95, 133, 242)
HSLhsl(224, 85%, 66%)
HSVhsv(224, 61%, 95%)
CMYKcmyk(60.7%, 45%, 0%, 5.1%)
CIE-LABlab(57.67, 19.56, -58.85)
CIE-LCHlch(57.67, 62.01, 288.38°)
OKLaboklab(64.2% -0.0084 -0.168)
OKLCHoklch(64.2% 0.168 267.1)
XYZxyz(29.1284, 25.6163, 87.3966)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85F2 #F2CC5F
analogous
#5FCEF2 #5F85F2 #825FF2
triadic
#5F85F2 #F25F85 #85F25F
tetradic
#5F85F2 #F25FCE #F2CC5F #5FF282
square
#5F85F2 #F25FCE #F2CC5F #5FF282
split-complementary
#5F85F2 #F2825F #CEF25F
monochromatic
#103FC6 #265AED #5F85F2 #98B0F7 #D0DBFB

Accessibility & contrast

On white

3.43
#5F85F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#5F85F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85F2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85F2#FFFFFF#000000##000000
##5F85F21.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#3984F0
Tritanopia (blue-blind)
#009EB0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f85f2;
/* rgb */ color: rgb(95, 133, 242);
/* oklch */ color: oklch(64.2% 0.168 267.1);
Tailwind
colors: {
  custom: {
    50: '#98a8f7',
    500: '#5f85f2',
    950: '#000000',
  },
}
SCSS
$custom: #5f85f2;
$custom-light: #98a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85f2",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 224.49,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64203,
    "c": 0.16823,
    "h": 267.1
  },
  "luminance": 0.25619
}

Semantic roles & 50–950 ramp

primary
#5F85F2
secondary
#EFE2BE
accent
#A804E1
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5F85F2

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

Preview Lab → · Contrast checker → · Palette generator →

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