#5B76DA#5B76DA

#5B76DA is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.4% C 0.155 H 269.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5B76DA
RGBrgb(91, 118, 218)
HSLhsl(227, 63%, 61%)
HSVhsv(227, 58%, 85%)
CMYKcmyk(58.3%, 45.9%, 0%, 14.5%)
CIE-LABlab(52.11, 20.00, -54.35)
CIE-LCHlch(52.11, 57.91, 290.20°)
OKLaboklab(59.44% -0.0005 -0.155)
OKLCHoklch(59.44% 0.155 269.8)
XYZxyz(23.4435, 20.2411, 68.9876)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76DA #DABF5B
analogous
#5BB5DA #5B76DA #7F5BDA
triadic
#5B76DA #DA5B76 #76DA5B
tetradic
#5B76DA #DA5BB5 #DABF5B #5BDA7F
square
#5B76DA #DA5BB5 #DABF5B #5BDA7F
split-complementary
#5B76DA #DA7F5B #B5DA5B
monochromatic
#223B98 #2E4FCA #5B76DA #8DA0E5 #BFC9F1

Accessibility & contrast

On white

4.16
#5B76DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5B76DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76DA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76DA#FFFFFF#000000##000000
##5B76DA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4782DE
Deuteranopia (green-blind)
#3477D8
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b76da;
/* rgb */ color: rgb(91, 118, 218);
/* oklch */ color: oklch(59.4% 0.155 269.8);
Tailwind
colors: {
  custom: {
    50: '#939de6',
    500: '#5b76da',
    950: '#000000',
  },
}
SCSS
$custom: #5b76da;
$custom-light: #939de6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76da",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 218
  },
  "hsl": {
    "h": 227.244,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59444,
    "c": 0.15505,
    "h": 269.8
  },
  "luminance": 0.20243
}

Semantic roles & 50–950 ramp

primary
#5B76DA
secondary
#E1D6B0
accent
#A51BCB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B76DA

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

Preview Lab → · Contrast checker → · Palette generator →

#5B76DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva