#5748BB#5748BB

#5748BB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.4% C 0.174 H 283.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5748BB
RGBrgb(87, 72, 187)
HSLhsl(248, 46%, 51%)
HSVhsv(248, 61%, 73%)
CMYKcmyk(53.5%, 61.5%, 0%, 26.7%)
CIE-LABlab(38.28, 37.50, -58.81)
CIE-LCHlch(38.28, 69.75, 302.52°)
OKLaboklab(48.36% 0.0412 -0.1687)
OKLCHoklch(48.36% 0.174 283.7)
XYZxyz(15.2148, 10.2480, 48.1804)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748BB #ACBB48
analogous
#4872BB #5748BB #9048BB
triadic
#5748BB #BB5748 #48BB57
tetradic
#5748BB #BB4872 #ACBB48 #48BB90
square
#5748BB #BB4872 #ACBB48 #48BB90
split-complementary
#5748BB #BB9048 #72BB48
monochromatic
#2D2564 #413690 #5748BB #8075CC #A9A1DC

Accessibility & contrast

On white

6.89
#5748BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5748BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748BB
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748BB#FFFFFF#000000##FFFFFF
##5748BB1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#2D647A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5748bb;
/* rgb */ color: rgb(87, 72, 187);
/* oklch */ color: oklch(48.4% 0.174 283.7);
Tailwind
colors: {
  custom: {
    50: '#8f7cd0',
    500: '#5748bb',
    950: '#000000',
  },
}
SCSS
$custom: #5748bb;
$custom-light: #8f7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5748bb",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 247.826,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48362,
    "c": 0.17363,
    "h": 283.7
  },
  "luminance": 0.10249
}

Semantic roles & 50–950 ramp

primary
#5748BB
secondary
#C2C996
accent
#D552C4
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5748BB

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

Preview Lab → · Contrast checker → · Palette generator →

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