#5E77F6#5E77F6

#5E77F6 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.7% C 0.191 H 271.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5E77F6
RGBrgb(94, 119, 246)
HSLhsl(230, 89%, 67%)
HSVhsv(230, 62%, 96%)
CMYKcmyk(61.8%, 51.6%, 0%, 3.5%)
CIE-LABlab(54.26, 29.20, -66.55)
CIE-LCHlch(54.26, 72.67, 293.69°)
OKLaboklab(61.68% 0.0045 -0.1908)
OKLCHoklch(61.68% 0.191 271.4)
XYZxyz(27.8419, 22.2248, 89.9935)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E77F6 #F6DD5E
analogous
#5EC3F6 #5E77F6 #915EF6
triadic
#5E77F6 #F65E77 #77F65E
tetradic
#5E77F6 #F65EC3 #F6DD5E #5EF691
square
#5E77F6 #F65EC3 #F6DD5E #5EF691
split-complementary
#5E77F6 #F6915E #C3F65E
monochromatic
#0C2CCE #2446F3 #5E77F6 #98A8F9 #D2D9FC

Accessibility & contrast

On white

3.86
#5E77F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5E77F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E77F6
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E77F6#FFFFFF#000000##000000
##5E77F61.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2989FA
Deuteranopia (green-blind)
#007BF3
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e77f6;
/* rgb */ color: rgb(94, 119, 246);
/* oklch */ color: oklch(61.7% 0.191 271.4);
Tailwind
colors: {
  custom: {
    50: '#999dfa',
    500: '#5e77f6',
    950: '#000000',
  },
}
SCSS
$custom: #5e77f6;
$custom-light: #999dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e77f6",
  "rgb": {
    "r": 94,
    "g": 119,
    "b": 246
  },
  "hsl": {
    "h": 230.132,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61679,
    "c": 0.1909,
    "h": 271.4
  },
  "luminance": 0.22227
}

Semantic roles & 50–950 ramp

primary
#5E77F6
secondary
#F0E8BF
accent
#C000E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E77F6

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

Preview Lab → · Contrast checker → · Palette generator →

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