#5874F3#5874F3

#5874F3 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.6% C 0.192 H 270.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5874F3
RGBrgb(88, 116, 243)
HSLhsl(229, 87%, 65%)
HSVhsv(229, 64%, 95%)
CMYKcmyk(63.8%, 52.3%, 0%, 4.7%)
CIE-LABlab(52.99, 29.05, -66.96)
CIE-LCHlch(52.99, 72.99, 293.45°)
OKLaboklab(60.57% 0.0011 -0.1922)
OKLCHoklch(60.57% 0.192 270.3)
XYZxyz(26.4421, 21.0342, 87.4432)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874F3 #F3D758
analogous
#58C2F3 #5874F3 #8958F3
triadic
#5874F3 #F35874 #74F358
tetradic
#5874F3 #F358C2 #F3D758 #58F389
square
#5874F3 #F358C2 #F3D758 #58F389
split-complementary
#5874F3 #F38958 #C2F358
monochromatic
#0E2FC3 #1F44EF #5874F3 #91A4F7 #CAD3FB

Accessibility & contrast

On white

4.03
#5874F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5874F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874F3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874F3#FFFFFF#000000##000000
##5874F31.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2186F7
Deuteranopia (green-blind)
#0078F0
Tritanopia (blue-blind)
#0092A8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5874f3;
/* rgb */ color: rgb(88, 116, 243);
/* oklch */ color: oklch(60.6% 0.192 270.3);
Tailwind
colors: {
  custom: {
    50: '#969bf8',
    500: '#5874f3',
    950: '#000000',
  },
}
SCSS
$custom: #5874f3;
$custom-light: #969bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5874f3",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 243
  },
  "hsl": {
    "h": 229.161,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60566,
    "c": 0.19223,
    "h": 270.3
  },
  "luminance": 0.21037
}

Semantic roles & 50–950 ramp

primary
#5874F3
secondary
#EEE4B9
accent
#BB02E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5874F3

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

Preview Lab → · Contrast checker → · Palette generator →

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