#5745CF#5745CF

#5745CF is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.5% C 0.203 H 282.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5745CF
RGBrgb(87, 69, 207)
HSLhsl(248, 59%, 54%)
HSVhsv(248, 67%, 81%)
CMYKcmyk(58%, 66.7%, 0%, 18.8%)
CIE-LABlab(39.22, 45.45, -68.94)
CIE-LCHlch(39.22, 82.57, 303.40°)
OKLaboklab(49.54% 0.0421 -0.1984)
OKLCHoklch(49.54% 0.203 282)
XYZxyz(17.3176, 10.7863, 60.1888)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745CF #BDCF45
analogous
#4578CF #5745CF #9C45CF
triadic
#5745CF #CF5745 #45CF57
tetradic
#5745CF #CF4578 #BDCF45 #45CF9C
square
#5745CF #CF4578 #BDCF45 #45CF9C
split-complementary
#5745CF #CF9C45 #78CF45
monochromatic
#2B207A #3D2CAB #5745CF #8376DC #AFA6E8

Accessibility & contrast

On white

6.65
#5745CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5745CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745CF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745CF#FFFFFF#000000##FFFFFF
##5745CF1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0057CC
Tritanopia (blue-blind)
#0C6984
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5745cf;
/* rgb */ color: rgb(87, 69, 207);
/* oklch */ color: oklch(49.5% 0.203 282.0);
Tailwind
colors: {
  custom: {
    50: '#927adf',
    500: '#5745cf',
    950: '#000000',
  },
}
SCSS
$custom: #5745cf;
$custom-light: #927adf;
$custom-dark: #000000;
JSON
{
  "hex": "#5745cf",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 247.826,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49537,
    "c": 0.20283,
    "h": 282
  },
  "luminance": 0.10787
}

Semantic roles & 50–950 ramp

primary
#5745CF
secondary
#CED59B
accent
#E246CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5745CF

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

Preview Lab → · Contrast checker → · Palette generator →

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