#5B7EDA#5B7EDA

#5B7EDA is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.1% C 0.145 H 266.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5B7EDA
RGBrgb(91, 126, 218)
HSLhsl(223, 63%, 61%)
HSVhsv(223, 58%, 85%)
CMYKcmyk(58.3%, 42.2%, 0%, 14.5%)
CIE-LABlab(54.24, 15.11, -50.94)
CIE-LCHlch(54.24, 53.13, 286.52°)
OKLaboklab(61.08% -0.0089 -0.1449)
OKLCHoklch(61.08% 0.145 266.5)
XYZxyz(24.4258, 22.2058, 69.3150)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7EDA #DAB75B
analogous
#5BBDDA #5B7EDA #785BDA
triadic
#5B7EDA #DA5B7E #7EDA5B
tetradic
#5B7EDA #DA5BBD #DAB75B #5BDA78
square
#5B7EDA #DA5BBD #DAB75B #5BDA78
split-complementary
#5B7EDA #DA785B #BDDA5B
monochromatic
#224398 #2E59CA #5B7EDA #8DA5E5 #BFCDF1

Accessibility & contrast

On white

3.86
#5B7EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5B7EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7EDA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7EDA#FFFFFF#000000##000000
##5B7EDA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DE
Deuteranopia (green-blind)
#447CD8
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b7eda;
/* rgb */ color: rgb(91, 126, 218);
/* oklch */ color: oklch(61.1% 0.145 266.5);
Tailwind
colors: {
  custom: {
    50: '#93a3e6',
    500: '#5b7eda',
    950: '#000000',
  },
}
SCSS
$custom: #5b7eda;
$custom-light: #93a3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7eda",
  "rgb": {
    "r": 91,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 223.465,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6108,
    "c": 0.14522,
    "h": 266.5
  },
  "luminance": 0.22208
}

Semantic roles & 50–950 ramp

primary
#5B7EDA
secondary
#E1D3B0
accent
#9A1BCB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #5B7EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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