#5748CF#5748CF

#5748CF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 50.0% C 0.199 H 281.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5748CF
RGBrgb(87, 72, 207)
HSLhsl(247, 58%, 55%)
HSVhsv(247, 65%, 81%)
CMYKcmyk(58%, 65.2%, 0%, 18.8%)
CIE-LABlab(39.86, 43.72, -67.89)
CIE-LCHlch(39.86, 80.75, 302.78°)
OKLaboklab(50% 0.0395 -0.1953)
OKLCHoklch(50% 0.199 281.4)
XYZxyz(17.5068, 11.1648, 60.2519)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748CF #C0CF48
analogous
#487CCF #5748CF #9B48CF
triadic
#5748CF #CF5748 #48CF57
tetradic
#5748CF #CF487C #C0CF48 #48CF9B
square
#5748CF #CF487C #C0CF48 #48CF9B
split-complementary
#5748CF #CF9B48 #7CCF48
monochromatic
#2B217C #3B2DAD #5748CF #8478DC #B0A9E8

Accessibility & contrast

On white

6.50
#5748CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5748CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748CF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748CF#FFFFFF#000000##FFFFFF
##5748CF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#0A6A85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5748cf;
/* rgb */ color: rgb(87, 72, 207);
/* oklch */ color: oklch(50.0% 0.199 281.4);
Tailwind
colors: {
  custom: {
    50: '#927cdf',
    500: '#5748cf',
    950: '#000000',
  },
}
SCSS
$custom: #5748cf;
$custom-light: #927cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5748cf",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 246.667,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49998,
    "c": 0.1993,
    "h": 281.4
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

primary
#5748CF
secondary
#D0D69D
accent
#E246D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5748CF

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

Preview Lab → · Contrast checker → · Palette generator →

#5748CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva