#5745CB#5745CB

#5745CB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 49.2% C 0.198 H 282.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5745CB
RGBrgb(87, 69, 203)
HSLhsl(248, 56%, 53%)
HSVhsv(248, 66%, 80%)
CMYKcmyk(57.1%, 66%, 0%, 20.4%)
CIE-LABlab(38.89, 44.22, -67.16)
CIE-LCHlch(38.89, 80.41, 303.36°)
OKLaboklab(49.2% 0.0426 -0.1932)
OKLCHoklch(49.2% 0.198 282.4)
XYZxyz(16.8348, 10.5932, 57.6459)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745CB #B9CB45
analogous
#4576CB #5745CB #9A45CB
triadic
#5745CB #CB5745 #45CB57
tetradic
#5745CB #CB4576 #B9CB45 #45CB9A
square
#5745CB #CB4576 #B9CB45 #45CB9A
split-complementary
#5745CB #CB9A45 #76CB45
monochromatic
#2C2175 #3E2EA5 #5745CB #8275D8 #ADA5E6

Accessibility & contrast

On white

6.73
#5745CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5745CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745CB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745CB#FFFFFF#000000##FFFFFF
##5745CB1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#176782
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5745cb;
/* rgb */ color: rgb(87, 69, 203);
/* oklch */ color: oklch(49.2% 0.198 282.4);
Tailwind
colors: {
  custom: {
    50: '#927adc',
    500: '#5745cb',
    950: '#000000',
  },
}
SCSS
$custom: #5745cb;
$custom-light: #927adc;
$custom-dark: #000000;
JSON
{
  "hex": "#5745cb",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 248.06,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49195,
    "c": 0.19784,
    "h": 282.4
  },
  "luminance": 0.10594
}

Semantic roles & 50–950 ramp

primary
#5745CB
secondary
#CBD399
accent
#E048CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5745CB

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

Preview Lab → · Contrast checker → · Palette generator →

#5745CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva