#5B7AEF#5B7AEF

#5B7AEF is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.6% C 0.179 H 269.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5B7AEF
RGBrgb(91, 122, 239)
HSLhsl(227, 82%, 65%)
HSVhsv(227, 62%, 94%)
CMYKcmyk(61.9%, 49%, 0%, 6.3%)
CIE-LABlab(54.42, 24.53, -62.41)
CIE-LCHlch(54.42, 67.06, 291.46°)
OKLaboklab(61.61% -0.0019 -0.1787)
OKLCHoklch(61.61% 0.179 269.4)
XYZxyz(26.8486, 22.3729, 84.5481)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7AEF #EFD05B
analogous
#5BC4EF #5B7AEF #865BEF
triadic
#5B7AEF #EF5B7A #7AEF5B
tetradic
#5B7AEF #EF5BC4 #EFD05B #5BEF86
square
#5B7AEF #EF5BC4 #EFD05B #5BEF86
split-complementary
#5B7AEF #EF865B #C4EF5B
monochromatic
#1236BD #234DEA #5B7AEF #93A7F4 #CBD4FA

Accessibility & contrast

On white

3.84
#5B7AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#5B7AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7AEF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7AEF#FFFFFF#000000##000000
##5B7AEF1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B89F3
Deuteranopia (green-blind)
#187CED
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b7aef;
/* rgb */ color: rgb(91, 122, 239);
/* oklch */ color: oklch(61.6% 0.179 269.4);
Tailwind
colors: {
  custom: {
    50: '#96a0f5',
    500: '#5b7aef',
    950: '#000000',
  },
}
SCSS
$custom: #5b7aef;
$custom-light: #96a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7aef",
  "rgb": {
    "r": 91,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 227.432,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61611,
    "c": 0.17872,
    "h": 269.4
  },
  "luminance": 0.22375
}

Semantic roles & 50–950 ramp

primary
#5B7AEF
secondary
#ECE2BA
accent
#B107DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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