#5B74EE#5B74EE

#5B74EE is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.4% C 0.185 H 271.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5B74EE
RGBrgb(91, 116, 238)
HSLhsl(230, 81%, 65%)
HSVhsv(230, 62%, 93%)
CMYKcmyk(61.8%, 51.3%, 0%, 6.7%)
CIE-LABlab(52.82, 27.87, -64.43)
CIE-LCHlch(52.82, 70.20, 293.39°)
OKLaboklab(60.38% 0.0037 -0.1847)
OKLCHoklch(60.38% 0.185 271.1)
XYZxyz(25.9872, 20.8858, 83.5342)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74EE #EED55B
analogous
#5BBEEE #5B74EE #8C5BEE
triadic
#5B74EE #EE5B74 #74EE5B
tetradic
#5B74EE #EE5BBE #EED55B #5BEE8C
square
#5B74EE #EE5BBE #EED55B #5BEE8C
split-complementary
#5B74EE #EE8C5B #BEEE5B
monochromatic
#1330BB #2445E8 #5B74EE #92A3F4 #CAD2F9

Accessibility & contrast

On white

4.06
#5B74EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5B74EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74EE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74EE#FFFFFF#000000##000000
##5B74EE1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F2
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b74ee;
/* rgb */ color: rgb(91, 116, 238);
/* oklch */ color: oklch(60.4% 0.185 271.1);
Tailwind
colors: {
  custom: {
    50: '#979bf4',
    500: '#5b74ee',
    950: '#000000',
  },
}
SCSS
$custom: #5b74ee;
$custom-light: #979bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74ee",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 229.796,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60383,
    "c": 0.18475,
    "h": 271.1
  },
  "luminance": 0.20888
}

Semantic roles & 50–950 ramp

primary
#5B74EE
secondary
#ECE3B9
accent
#B908DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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