#5B7FEA#5B7FEA

#5B7FEA is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.3% C 0.166 H 267.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5B7FEA
RGBrgb(91, 127, 234)
HSLhsl(225, 77%, 64%)
HSVhsv(225, 61%, 92%)
CMYKcmyk(61.1%, 45.7%, 0%, 8.2%)
CIE-LABlab(55.42, 19.81, -58.02)
CIE-LCHlch(55.42, 61.31, 288.85°)
OKLaboklab(62.28% -0.0073 -0.1657)
OKLCHoklch(62.28% 0.166 267.5)
XYZxyz(26.7500, 23.3411, 80.9216)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7FEA #EAC65B
analogous
#5BC6EA #5B7FEA #7E5BEA
triadic
#5B7FEA #EA5B7F #7FEA5B
tetradic
#5B7FEA #EA5BC6 #EAC65B #5BEA7E
square
#5B7FEA #EA5BC6 #EAC65B #5BEA7E
split-complementary
#5B7FEA #EA7E5B #C6EA5B
monochromatic
#173EB4 #2555E3 #5B7FEA #91A9F1 #C8D4F8

Accessibility & contrast

On white

3.70
#5B7FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5B7FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7FEA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7FEA#FFFFFF#000000##000000
##5B7FEA1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEE
Deuteranopia (green-blind)
#337FE8
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b7fea;
/* rgb */ color: rgb(91, 127, 234);
/* oklch */ color: oklch(62.3% 0.166 267.5);
Tailwind
colors: {
  custom: {
    50: '#95a3f1',
    500: '#5b7fea',
    950: '#000000',
  },
}
SCSS
$custom: #5b7fea;
$custom-light: #95a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7fea",
  "rgb": {
    "r": 91,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 224.895,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62277,
    "c": 0.16589,
    "h": 267.5
  },
  "luminance": 0.23343
}

Semantic roles & 50–950 ramp

primary
#5B7FEA
secondary
#EADDB7
accent
#A60CDA
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5B7FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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