#5E7BEC#5E7BEC

#5E7BEC is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.8% C 0.173 H 269.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5E7BEC
RGBrgb(94, 123, 236)
HSLhsl(228, 79%, 65%)
HSVhsv(228, 60%, 93%)
CMYKcmyk(60.2%, 47.9%, 0%, 7.5%)
CIE-LABlab(54.66, 23.45, -60.35)
CIE-LCHlch(54.66, 64.75, 291.24°)
OKLaboklab(61.78% -0.0003 -0.1726)
OKLCHoklch(61.78% 0.173 269.9)
XYZxyz(26.8343, 22.5995, 82.2887)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7BEC #ECCF5E
analogous
#5EC2EC #5E7BEC #885EEC
triadic
#5E7BEC #EC5E7B #7BEC5E
tetradic
#5E7BEC #EC5EC2 #ECCF5E #5EEC88
square
#5E7BEC #EC5EC2 #ECCF5E #5EEC88
split-complementary
#5E7BEC #EC885E #C2EC5E
monochromatic
#1637BA #274EE6 #5E7BEC #95A8F2 #CBD5F9

Accessibility & contrast

On white

3.80
#5E7BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5E7BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7BEC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7BEC#FFFFFF#000000##000000
##5E7BEC1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289F0
Deuteranopia (green-blind)
#277DEA
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5e7bec;
/* rgb */ color: rgb(94, 123, 236);
/* oklch */ color: oklch(61.8% 0.173 269.9);
Tailwind
colors: {
  custom: {
    50: '#97a0f3',
    500: '#5e7bec',
    950: '#000000',
  },
}
SCSS
$custom: #5e7bec;
$custom-light: #97a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7bec",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 227.746,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61776,
    "c": 0.17258,
    "h": 269.9
  },
  "luminance": 0.22602
}

Semantic roles & 50–950 ramp

primary
#5E7BEC
secondary
#EBE1BB
accent
#B10ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5E7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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