#5B7FDB#5B7FDB

#5B7FDB is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.3% C 0.145 H 266.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5B7FDB
RGBrgb(91, 127, 219)
HSLhsl(223, 64%, 61%)
HSVhsv(223, 58%, 86%)
CMYKcmyk(58.4%, 42%, 0%, 14.1%)
CIE-LABlab(54.57, 14.83, -50.98)
CIE-LCHlch(54.57, 53.10, 286.22°)
OKLaboklab(61.35% -0.0098 -0.1451)
OKLCHoklch(61.35% 0.145 266.1)
XYZxyz(24.6856, 22.5153, 70.0491)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7FDB #DBB75B
analogous
#5BBFDB #5B7FDB #775BDB
triadic
#5B7FDB #DB5B7F #7FDB5B
tetradic
#5B7FDB #DB5BBF #DBB75B #5BDB77
square
#5B7FDB #DB5BBF #DBB75B #5BDB77
split-complementary
#5B7FDB #DB775B #BFDB5B
monochromatic
#22449A #2D5ACC #5B7FDB #8DA6E6 #BFCDF1

Accessibility & contrast

On white

3.82
#5B7FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#5B7FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7FDB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7FDB#FFFFFF#000000##000000
##5B7FDB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5789DF
Deuteranopia (green-blind)
#457DD9
Tritanopia (blue-blind)
#0093A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5b7fdb;
/* rgb */ color: rgb(91, 127, 219);
/* oklch */ color: oklch(61.3% 0.145 266.1);
Tailwind
colors: {
  custom: {
    50: '#93a3e7',
    500: '#5b7fdb',
    950: '#000000',
  },
}
SCSS
$custom: #5b7fdb;
$custom-light: #93a3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7fdb",
  "rgb": {
    "r": 91,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 223.125,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61348,
    "c": 0.1454,
    "h": 266.1
  },
  "luminance": 0.22517
}

Semantic roles & 50–950 ramp

primary
#5B7FDB
secondary
#E1D4B1
accent
#9A1ACC
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5B7FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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