#5862BA#5862BA

#5862BA is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.2% C 0.137 H 275.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5862BA
RGBrgb(88, 98, 186)
HSLhsl(234, 42%, 54%)
HSVhsv(234, 53%, 73%)
CMYKcmyk(52.7%, 47.3%, 0%, 27.1%)
CIE-LABlab(44.74, 21.30, -47.82)
CIE-LCHlch(44.74, 52.35, 294.01°)
OKLaboklab(53.17% 0.0139 -0.1361)
OKLCHoklch(53.17% 0.137 275.8)
XYZxyz(17.2523, 14.3541, 48.3064)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5862BA #BAB058
analogous
#5893BA #5862BA #7F58BA
triadic
#5862BA #BA5862 #62BA58
tetradic
#5862BA #BA5893 #BAB058 #58BA7F
square
#5862BA #BA5893 #BAB058 #58BA7F
split-complementary
#5862BA #BA7F58 #93BA58
monochromatic
#2C336B #3E4797 #5862BA #838BCC #AFB3DE

Accessibility & contrast

On white

5.42
#5862BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5862BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5862BA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5862BA#FFFFFF#000000##FFFFFF
##5862BA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#3066B8
Tritanopia (blue-blind)
#2C7585
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5862ba;
/* rgb */ color: rgb(88, 98, 186);
/* oklch */ color: oklch(53.2% 0.137 275.8);
Tailwind
colors: {
  custom: {
    50: '#8e8ecf',
    500: '#5862ba',
    950: '#000000',
  },
}
SCSS
$custom: #5862ba;
$custom-light: #8e8ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#5862ba",
  "rgb": {
    "r": 88,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 233.878,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53173,
    "c": 0.13685,
    "h": 275.8
  },
  "luminance": 0.14355
}

Semantic roles & 50–950 ramp

primary
#5862BA
secondary
#CCC8A2
accent
#C556D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5862BA

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

Preview Lab → · Contrast checker → · Palette generator →

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