#5862FD#5862FD

#5862FD is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.1% C 0.227 H 274.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5862FD
RGBrgb(88, 98, 253)
HSLhsl(236, 98%, 67%)
HSVhsv(236, 65%, 99%)
CMYKcmyk(65.2%, 61.3%, 0%, 0.8%)
CIE-LABlab(49.37, 43.27, -78.39)
CIE-LCHlch(49.37, 89.54, 298.90°)
OKLaboklab(58.1% 0.0161 -0.226)
OKLCHoklch(58.1% 0.227 274.1)
XYZxyz(26.1159, 17.8996, 94.9881)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5862FD #FDF358
analogous
#58B4FD #5862FD #A158FD
triadic
#5862FD #FD5862 #62FD58
tetradic
#5862FD #FD58B4 #FDF358 #58FDA1
square
#5862FD #FD58B4 #FDF358 #58FDA1
split-complementary
#5862FD #FDA158 #B4FD58
monochromatic
#0310D8 #1C29FC #5862FD #949BFE #D1D4FE

Accessibility & contrast

On white

4.58
#5862FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5862FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5862FD
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5862FD#FFFFFF#000000##000000
##5862FD1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#006EFA
Tritanopia (blue-blind)
#0089A6
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5862fd;
/* rgb */ color: rgb(88, 98, 253);
/* oklch */ color: oklch(58.1% 0.227 274.1);
Tailwind
colors: {
  custom: {
    50: '#998fff',
    500: '#5862fd',
    950: '#000000',
  },
}
SCSS
$custom: #5862fd;
$custom-light: #998fff;
$custom-dark: #000000;
JSON
{
  "hex": "#5862fd",
  "rgb": {
    "r": 88,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 236.364,
    "s": 97.633,
    "l": 66.863
  },
  "oklch": {
    "l": 0.58101,
    "c": 0.22658,
    "h": 274.1
  },
  "luminance": 0.17902
}

Semantic roles & 50–950 ramp

primary
#5862FD
secondary
#F3F0BE
accent
#D800E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #5862FD

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

Preview Lab → · Contrast checker → · Palette generator →

#5862FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva