#5F85F8#5F85F8

#5F85F8 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.6% C 0.176 H 267.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5F85F8
RGBrgb(95, 133, 248)
HSLhsl(225, 92%, 67%)
HSVhsv(225, 62%, 97%)
CMYKcmyk(61.7%, 46.4%, 0%, 2.7%)
CIE-LABlab(58.02, 21.55, -61.61)
CIE-LCHlch(58.02, 65.27, 289.28°)
OKLaboklab(64.58% -0.0075 -0.1761)
OKLCHoklch(64.58% 0.176 267.5)
XYZxyz(30.0443, 25.9826, 92.2206)
Luminance0.2599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85F8 #F8D25F
analogous
#5FD2F8 #5F85F8 #865FF8
triadic
#5F85F8 #F85F85 #85F85F
tetradic
#5F85F8 #F85FD2 #F8D25F #5FF886
square
#5F85F8 #F85FD2 #F8D25F #5FF886
split-complementary
#5F85F8 #F8865F #D2F85F
monochromatic
#093BD3 #2458F5 #5F85F8 #9AB2FB #D4DEFD

Accessibility & contrast

On white

3.39
#5F85F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#5F85F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85F8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85F8#FFFFFF#000000##000000
##5F85F81.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FC
Deuteranopia (green-blind)
#3085F6
Tritanopia (blue-blind)
#009FB2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f85f8;
/* rgb */ color: rgb(95, 133, 248);
/* oklch */ color: oklch(64.6% 0.176 267.5);
Tailwind
colors: {
  custom: {
    50: '#99a8fb',
    500: '#5f85f8',
    950: '#000000',
  },
}
SCSS
$custom: #5f85f8;
$custom-light: #99a8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85f8",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 248
  },
  "hsl": {
    "h": 225.098,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64583,
    "c": 0.17628,
    "h": 267.5
  },
  "luminance": 0.25985
}

Semantic roles & 50–950 ramp

primary
#5F85F8
secondary
#F2E6C1
accent
#AC00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5F85F8

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

Preview Lab → · Contrast checker → · Palette generator →

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