#5B74EC#5B74EC

#5B74EC is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.2% C 0.182 H 271.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5B74EC
RGBrgb(91, 116, 236)
HSLhsl(230, 79%, 64%)
HSVhsv(230, 61%, 93%)
CMYKcmyk(61.4%, 50.8%, 0%, 7.5%)
CIE-LABlab(52.70, 27.20, -63.52)
CIE-LCHlch(52.70, 69.10, 293.18°)
OKLaboklab(60.25% 0.0035 -0.182)
OKLCHoklch(60.25% 0.182 271.1)
XYZxyz(25.6950, 20.7689, 81.9953)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74EC #ECD35B
analogous
#5BBDEC #5B74EC #8B5BEC
triadic
#5B74EC #EC5B74 #74EC5B
tetradic
#5B74EC #EC5BBD #ECD35B #5BEC8B
square
#5B74EC #EC5BBD #ECD35B #5BEC8B
split-complementary
#5B74EC #EC8B5B #BDEC5B
monochromatic
#1531B7 #2446E6 #5B74EC #92A2F2 #C9D1F9

Accessibility & contrast

On white

4.07
#5B74EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5B74EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74EC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74EC#FFFFFF#000000##000000
##5B74EC1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84F0
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b74ec;
/* rgb */ color: rgb(91, 116, 236);
/* oklch */ color: oklch(60.2% 0.182 271.1);
Tailwind
colors: {
  custom: {
    50: '#969bf3',
    500: '#5b74ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b74ec;
$custom-light: #969bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74ec",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 229.655,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60245,
    "c": 0.18207,
    "h": 271.1
  },
  "luminance": 0.20771
}

Semantic roles & 50–950 ramp

primary
#5B74EC
secondary
#EBE2B8
accent
#B70ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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