#5862FF#5862FF

#5862FF is a mid, highly saturated blue. Relative luminance 0.180; OKLCH L 58.3% C 0.229 H 274.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5862FF
RGBrgb(88, 98, 255)
HSLhsl(236, 100%, 67%)
HSVhsv(236, 65%, 100%)
CMYKcmyk(65.5%, 61.6%, 0%, 0%)
CIE-LABlab(49.53, 43.92, -79.24)
CIE-LCHlch(49.53, 90.60, 299.00°)
OKLaboklab(58.26% 0.016 -0.2285)
OKLCHoklch(58.26% 0.229 274)
XYZxyz(26.4362, 18.0277, 96.6749)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5862FF #FFF558
analogous
#58B6FF #5862FF #A158FF
triadic
#5862FF #FF5862 #62FF58
tetradic
#5862FF #FF58B6 #FFF558 #58FFA1
square
#5862FF #FF58B6 #FFF558 #58FFA1
split-complementary
#5862FF #FFA158 #B6FF58
monochromatic
#000DDD #1B28FF #5862FF #959CFF #D2D5FF

Accessibility & contrast

On white

4.56
#5862FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5862FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5862FF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5862FF#FFFFFF#000000##000000
##5862FF1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#006EFC
Tritanopia (blue-blind)
#008AA7
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5862ff;
/* rgb */ color: rgb(88, 98, 255);
/* oklch */ color: oklch(58.3% 0.229 274.0);
Tailwind
colors: {
  custom: {
    50: '#998fff',
    500: '#5862ff',
    950: '#000000',
  },
}
SCSS
$custom: #5862ff;
$custom-light: #998fff;
$custom-dark: #000000;
JSON
{
  "hex": "#5862ff",
  "rgb": {
    "r": 88,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 236.407,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.22909,
    "h": 274
  },
  "luminance": 0.1803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5862FF

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

Preview Lab → · Contrast checker → · Palette generator →

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