#5765BF#5765BF

#5765BF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.0% C 0.140 H 274.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5765BF
RGBrgb(87, 101, 191)
HSLhsl(232, 45%, 55%)
HSVhsv(232, 54%, 75%)
CMYKcmyk(54.5%, 47.1%, 0%, 25.1%)
CIE-LABlab(45.76, 20.83, -49.08)
CIE-LCHlch(45.76, 53.32, 293.00°)
OKLaboklab(54.03% 0.01 -0.1398)
OKLCHoklch(54.03% 0.14 274.1)
XYZxyz(17.9851, 15.0940, 51.2458)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5765BF #BFB157
analogous
#5799BF #5765BF #7D57BF
triadic
#5765BF #BF5765 #65BF57
tetradic
#5765BF #BF5799 #BFB157 #57BF7D
square
#5765BF #BF5799 #BFB157 #57BF7D
split-complementary
#5765BF #BF7D57 #99BF57
monochromatic
#2B3471 #3C499D #5765BF #838ED0 #B0B6E1

Accessibility & contrast

On white

5.23
#5765BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5765BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5765BF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5765BF#FFFFFF#000000##FFFFFF
##5765BF1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C71C2
Deuteranopia (green-blind)
#2F68BD
Tritanopia (blue-blind)
#237989
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5765bf;
/* rgb */ color: rgb(87, 101, 191);
/* oklch */ color: oklch(54.0% 0.140 274.1);
Tailwind
colors: {
  custom: {
    50: '#8e90d3',
    500: '#5765bf',
    950: '#000000',
  },
}
SCSS
$custom: #5765bf;
$custom-light: #8e90d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5765bf",
  "rgb": {
    "r": 87,
    "g": 101,
    "b": 191
  },
  "hsl": {
    "h": 231.923,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54031,
    "c": 0.14021,
    "h": 274.1
  },
  "luminance": 0.15095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5765BF

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

Preview Lab → · Contrast checker → · Palette generator →

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