#5A6BEC#5A6BEC

#5A6BEC is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.5% C 0.193 H 273.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5A6BEC
RGBrgb(90, 107, 236)
HSLhsl(233, 79%, 64%)
HSVhsv(233, 62%, 93%)
CMYKcmyk(61.9%, 54.7%, 0%, 7.5%)
CIE-LABlab(50.39, 32.54, -67.25)
CIE-LCHlch(50.39, 74.71, 295.82°)
OKLaboklab(58.49% 0.0109 -0.1932)
OKLCHoklch(58.49% 0.193 273.2)
XYZxyz(24.6094, 18.7431, 81.6615)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6BEC #ECDB5A
analogous
#5AB4EC #5A6BEC #925AEC
triadic
#5A6BEC #EC5A6B #6BEC5A
tetradic
#5A6BEC #EC5AB4 #ECDB5A #5AEC92
square
#5A6BEC #EC5AB4 #ECDB5A #5AEC92
split-complementary
#5A6BEC #EC925A #B4EC5A
monochromatic
#1528B7 #233AE6 #5A6BEC #919CF2 #C8CDF9

Accessibility & contrast

On white

4.42
#5A6BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5A6BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6BEC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6BEC#FFFFFF#000000##000000
##5A6BEC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF0
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#008AA1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a6bec;
/* rgb */ color: rgb(90, 107, 236);
/* oklch */ color: oklch(58.5% 0.193 273.2);
Tailwind
colors: {
  custom: {
    50: '#9695f3',
    500: '#5a6bec',
    950: '#000000',
  },
}
SCSS
$custom: #5a6bec;
$custom-light: #9695f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6bec",
  "rgb": {
    "r": 90,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 233.014,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.19346,
    "h": 273.2
  },
  "luminance": 0.18745
}

Semantic roles & 50–950 ramp

primary
#5A6BEC
secondary
#EBE5B7
accent
#C30ADC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A6BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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