#5F85F5#5F85F5

#5F85F5 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.4% C 0.172 H 267.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5F85F5
RGBrgb(95, 133, 245)
HSLhsl(225, 88%, 67%)
HSVhsv(225, 61%, 96%)
CMYKcmyk(61.2%, 45.7%, 0%, 3.9%)
CIE-LABlab(57.84, 20.55, -60.23)
CIE-LCHlch(57.84, 63.64, 288.84°)
OKLaboklab(64.39% -0.0079 -0.1721)
OKLCHoklch(64.39% 0.172 267.4)
XYZxyz(29.5827, 25.7980, 89.7890)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85F5 #F5CF5F
analogous
#5FD0F5 #5F85F5 #845FF5
triadic
#5F85F5 #F55F85 #85F55F
tetradic
#5F85F5 #F55FD0 #F5CF5F #5FF584
square
#5F85F5 #F55FD0 #F5CF5F #5FF584
split-complementary
#5F85F5 #F5845F #D0F55F
monochromatic
#0D3DCD #2559F1 #5F85F5 #99B1F9 #D2DDFC

Accessibility & contrast

On white

3.41
#5F85F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#5F85F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85F5
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85F5#FFFFFF#000000##000000
##5F85F51.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F9
Deuteranopia (green-blind)
#3585F3
Tritanopia (blue-blind)
#009EB1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f85f5;
/* rgb */ color: rgb(95, 133, 245);
/* oklch */ color: oklch(64.4% 0.172 267.4);
Tailwind
colors: {
  custom: {
    50: '#99a8f9',
    500: '#5f85f5',
    950: '#000000',
  },
}
SCSS
$custom: #5f85f5;
$custom-light: #99a8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85f5",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 245
  },
  "hsl": {
    "h": 224.8,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64392,
    "c": 0.17226,
    "h": 267.4
  },
  "luminance": 0.25801
}

Semantic roles & 50–950 ramp

primary
#5F85F5
secondary
#F0E4C0
accent
#AB01E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5F85F5

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

Preview Lab → · Contrast checker → · Palette generator →

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