#5B76DF#5B76DF

#5B76DF is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.8% C 0.162 H 270.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5B76DF
RGBrgb(91, 118, 223)
HSLhsl(228, 67%, 62%)
HSVhsv(228, 59%, 87%)
CMYKcmyk(59.2%, 47.1%, 0%, 12.5%)
CIE-LABlab(52.41, 21.65, -56.69)
CIE-LCHlch(52.41, 60.69, 290.90°)
OKLaboklab(59.77% 0.0002 -0.1619)
OKLCHoklch(59.77% 0.162 270.1)
XYZxyz(24.1076, 20.5068, 72.4855)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76DF #DFC45B
analogous
#5BB8DF #5B76DF #825BDF
triadic
#5B76DF #DF5B76 #76DF5B
tetradic
#5B76DF #DF5BB8 #DFC45B #5BDF82
square
#5B76DF #DF5BB8 #DFC45B #5BDF82
split-complementary
#5B76DF #DF825B #B8DF5B
monochromatic
#1F3AA0 #294CD4 #5B76DF #8EA1E9 #C1CCF3

Accessibility & contrast

On white

4.12
#5B76DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5B76DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76DF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76DF#FFFFFF#000000##000000
##5B76DF1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E3
Deuteranopia (green-blind)
#2D77DD
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b76df;
/* rgb */ color: rgb(91, 118, 223);
/* oklch */ color: oklch(59.8% 0.162 270.1);
Tailwind
colors: {
  custom: {
    50: '#949de9',
    500: '#5b76df',
    950: '#000000',
  },
}
SCSS
$custom: #5b76df;
$custom-light: #949de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76df",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 227.727,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59766,
    "c": 0.16194,
    "h": 270.1
  },
  "luminance": 0.20509
}

Semantic roles & 50–950 ramp

primary
#5B76DF
secondary
#E3D9B2
accent
#A916CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B76DF

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

Preview Lab → · Contrast checker → · Palette generator →

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