#5766B2#5766B2

#5766B2 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.4% C 0.120 H 273.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5766B2
RGBrgb(87, 102, 178)
HSLhsl(230, 37%, 52%)
HSVhsv(230, 51%, 70%)
CMYKcmyk(51.1%, 42.7%, 0%, 30.2%)
CIE-LABlab(45.28, 16.00, -42.29)
CIE-LCHlch(45.28, 45.22, 290.72°)
OKLaboklab(53.42% 0.0069 -0.1199)
OKLCHoklch(53.42% 0.12 273.3)
XYZxyz(16.7152, 14.7423, 44.0756)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5766B2 #B2A357
analogous
#5794B2 #5766B2 #7657B2
triadic
#5766B2 #B25766 #66B257
tetradic
#5766B2 #B25794 #B2A357 #57B276
square
#5766B2 #B25794 #B2A357 #57B276
split-complementary
#5766B2 #B27657 #94B257
monochromatic
#2D3662 #404D8C #5766B2 #818CC5 #ABB2D8

Accessibility & contrast

On white

5.32
#5766B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5766B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5766B2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5766B2#FFFFFF#000000##FFFFFF
##5766B21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476FB5
Deuteranopia (green-blind)
#3E68B0
Tritanopia (blue-blind)
#307683
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5766b2;
/* rgb */ color: rgb(87, 102, 178);
/* oklch */ color: oklch(53.4% 0.120 273.3);
Tailwind
colors: {
  custom: {
    50: '#8c91c9',
    500: '#5766b2',
    950: '#000000',
  },
}
SCSS
$custom: #5766b2;
$custom-light: #8c91c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5766b2",
  "rgb": {
    "r": 87,
    "g": 102,
    "b": 178
  },
  "hsl": {
    "h": 230.11,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53419,
    "c": 0.12012,
    "h": 273.3
  },
  "luminance": 0.14743
}

Semantic roles & 50–950 ramp

primary
#5766B2
secondary
#C6C09E
accent
#BA5BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #5766B2

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

Preview Lab → · Contrast checker → · Palette generator →

#5766B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva