#5745CA#5745CA

#5745CA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 49.1% C 0.197 H 282.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5745CA
RGBrgb(87, 69, 202)
HSLhsl(248, 56%, 53%)
HSVhsv(248, 66%, 79%)
CMYKcmyk(56.9%, 65.8%, 0%, 20.8%)
CIE-LABlab(38.80, 43.91, -66.72)
CIE-LCHlch(38.80, 79.87, 303.35°)
OKLaboklab(49.11% 0.0427 -0.1919)
OKLCHoklch(49.11% 0.197 282.5)
XYZxyz(16.7160, 10.5457, 57.0203)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745CA #B8CA45
analogous
#4575CA #5745CA #9945CA
triadic
#5745CA #CA5745 #45CA57
tetradic
#5745CA #CA4575 #B8CA45 #45CA99
square
#5745CA #CA4575 #B8CA45 #45CA99
split-complementary
#5745CA #CA9945 #75CA45
monochromatic
#2C2174 #3E2FA3 #5745CA #8275D8 #ADA4E5

Accessibility & contrast

On white

6.75
#5745CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5745CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745CA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745CA#FFFFFF#000000##FFFFFF
##5745CA1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#196781
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5745ca;
/* rgb */ color: rgb(87, 69, 202);
/* oklch */ color: oklch(49.1% 0.197 282.5);
Tailwind
colors: {
  custom: {
    50: '#927adb',
    500: '#5745ca',
    950: '#000000',
  },
}
SCSS
$custom: #5745ca;
$custom-light: #927adb;
$custom-dark: #000000;
JSON
{
  "hex": "#5745ca",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 248.12,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4911,
    "c": 0.19659,
    "h": 282.5
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

primary
#5745CA
secondary
#CAD299
accent
#DF49CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5745CA

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

Preview Lab → · Contrast checker → · Palette generator →

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