#5765CA#5765CA

#5765CA is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.8% C 0.156 H 274.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5765CA
RGBrgb(87, 101, 202)
HSLhsl(233, 52%, 57%)
HSVhsv(233, 57%, 79%)
CMYKcmyk(56.9%, 50%, 0%, 20.8%)
CIE-LABlab(46.44, 24.45, -54.34)
CIE-LCHlch(46.44, 59.59, 294.22°)
OKLaboklab(54.76% 0.0113 -0.1553)
OKLCHoklch(54.76% 0.156 274.2)
XYZxyz(19.2414, 15.5965, 57.8621)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5765CA #CABC57
analogous
#579FCA #5765CA #8357CA
triadic
#5765CA #CA5765 #65CA57
tetradic
#5765CA #CA579F #CABC57 #57CA83
square
#5765CA #CA579F #CABC57 #57CA83
split-complementary
#5765CA #CA8357 #9FCA57
monochromatic
#28337F #3745AD #5765CA #8690D9 #B4BAE7

Accessibility & contrast

On white

5.10
#5765CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5765CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5765CA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5765CA#FFFFFF#000000##FFFFFF
##5765CA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3173CE
Deuteranopia (green-blind)
#1D69C8
Tritanopia (blue-blind)
#0D7C8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5765ca;
/* rgb */ color: rgb(87, 101, 202);
/* oklch */ color: oklch(54.8% 0.156 274.2);
Tailwind
colors: {
  custom: {
    50: '#9090db',
    500: '#5765ca',
    950: '#000000',
  },
}
SCSS
$custom: #5765ca;
$custom-light: #9090db;
$custom-dark: #000000;
JSON
{
  "hex": "#5765ca",
  "rgb": {
    "r": 87,
    "g": 101,
    "b": 202
  },
  "hsl": {
    "h": 232.696,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54763,
    "c": 0.15571,
    "h": 274.2
  },
  "luminance": 0.15598
}

Semantic roles & 50–950 ramp

primary
#5765CA
secondary
#D6D0A7
accent
#CA4CDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5765CA

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

Preview Lab → · Contrast checker → · Palette generator →

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