#5764BF#5764BF

#5764BF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.8% C 0.142 H 274.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5764BF
RGBrgb(87, 100, 191)
HSLhsl(233, 45%, 55%)
HSVhsv(233, 54%, 75%)
CMYKcmyk(54.5%, 47.6%, 0%, 25.1%)
CIE-LABlab(45.50, 21.46, -49.51)
CIE-LCHlch(45.50, 53.96, 293.43°)
OKLaboklab(53.83% 0.0112 -0.1411)
OKLCHoklch(53.83% 0.142 274.5)
XYZxyz(17.8886, 14.9010, 51.2136)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5764BF #BFB257
analogous
#5798BF #5764BF #7E57BF
triadic
#5764BF #BF5764 #64BF57
tetradic
#5764BF #BF5798 #BFB257 #57BF7E
square
#5764BF #BF5798 #BFB257 #57BF7E
split-complementary
#5764BF #BF7E57 #98BF57
monochromatic
#2B3471 #3C489D #5764BF #838DD0 #B0B6E1

Accessibility & contrast

On white

5.28
#5764BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5764BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5764BF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5764BF#FFFFFF#000000##FFFFFF
##5764BF1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C2
Deuteranopia (green-blind)
#2D68BD
Tritanopia (blue-blind)
#237888
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5764bf;
/* rgb */ color: rgb(87, 100, 191);
/* oklch */ color: oklch(53.8% 0.142 274.5);
Tailwind
colors: {
  custom: {
    50: '#8e8fd3',
    500: '#5764bf',
    950: '#000000',
  },
}
SCSS
$custom: #5764bf;
$custom-light: #8e8fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5764bf",
  "rgb": {
    "r": 87,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 232.5,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53831,
    "c": 0.14154,
    "h": 274.5
  },
  "luminance": 0.14902
}

Semantic roles & 50–950 ramp

primary
#5764BF
secondary
#CFC9A3
accent
#C453D5
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5764BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5764BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva