#5873F3#5873F3

#5873F3 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.4% C 0.193 H 270.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5873F3
RGBrgb(88, 115, 243)
HSLhsl(230, 87%, 65%)
HSVhsv(230, 64%, 95%)
CMYKcmyk(63.8%, 52.7%, 0%, 4.7%)
CIE-LABlab(52.74, 29.66, -67.37)
CIE-LCHlch(52.74, 73.61, 293.76°)
OKLaboklab(60.38% 0.002 -0.1934)
OKLCHoklch(60.38% 0.193 270.6)
XYZxyz(26.3274, 20.8049, 87.4050)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873F3 #F3D858
analogous
#58C1F3 #5873F3 #8A58F3
triadic
#5873F3 #F35873 #73F358
tetradic
#5873F3 #F358C1 #F3D858 #58F38A
square
#5873F3 #F358C1 #F3D858 #58F38A
split-complementary
#5873F3 #F38A58 #C1F358
monochromatic
#0E2DC3 #1F43EF #5873F3 #91A3F7 #CAD3FB

Accessibility & contrast

On white

4.07
#5873F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5873F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873F3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873F3#FFFFFF#000000##000000
##5873F31.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C85F7
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#0091A8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5873f3;
/* rgb */ color: rgb(88, 115, 243);
/* oklch */ color: oklch(60.4% 0.193 270.6);
Tailwind
colors: {
  custom: {
    50: '#969af8',
    500: '#5873f3',
    950: '#000000',
  },
}
SCSS
$custom: #5873f3;
$custom-light: #969af8;
$custom-dark: #000000;
JSON
{
  "hex": "#5873f3",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 243
  },
  "hsl": {
    "h": 229.548,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60377,
    "c": 0.19345,
    "h": 270.6
  },
  "luminance": 0.20807
}

Semantic roles & 50–950 ramp

primary
#5873F3
secondary
#EEE5B9
accent
#BC02E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5873F3

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

Preview Lab → · Contrast checker → · Palette generator →

#5873F3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva