#5738BC#5738BC

#5738BC is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.195 H 286.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#5738BC
RGBrgb(87, 56, 188)
HSLhsl(254, 54%, 48%)
HSVhsv(254, 70%, 74%)
CMYKcmyk(53.7%, 70.2%, 0%, 26.3%)
CIE-LABlab(34.97, 46.96, -64.80)
CIE-LCHlch(34.97, 80.03, 305.93°)
OKLaboklab(45.99% 0.0563 -0.1863)
OKLCHoklch(45.99% 0.195 286.8)
XYZxyz(14.4191, 8.4847, 48.4451)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5738BC #9DBC38
analogous
#385BBC #5738BC #9938BC
triadic
#5738BC #BC5738 #38BC57
tetradic
#5738BC #BC385B #9DBC38 #38BC99
square
#5738BC #BC385B #9DBC38 #38BC99
split-complementary
#5738BC #BC9938 #5BBC38
monochromatic
#2B1C5E #412A8D #5738BC #7B61D0 #A390DE

Accessibility & contrast

On white

7.79
#5738BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5738BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5738BC
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5738BC#FFFFFF#000000##FFFFFF
##5738BC1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#2D5B76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5738bc;
/* rgb */ color: rgb(87, 56, 188);
/* oklch */ color: oklch(46.0% 0.195 286.8);
Tailwind
colors: {
  custom: {
    50: '#9071d1',
    500: '#5738bc',
    950: '#000000',
  },
}
SCSS
$custom: #5738bc;
$custom-light: #9071d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5738bc",
  "rgb": {
    "r": 87,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 254.091,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45993,
    "c": 0.19457,
    "h": 286.8
  },
  "luminance": 0.08485
}

Semantic roles & 50–950 ramp

primary
#5738BC
secondary
#B9C987
accent
#DD4ABB
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5738BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5738BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva