#5E77F2#5E77F2

#5E77F2 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.4% C 0.186 H 271.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5E77F2
RGBrgb(94, 119, 242)
HSLhsl(230, 85%, 66%)
HSVhsv(230, 61%, 95%)
CMYKcmyk(61.2%, 50.8%, 0%, 5.1%)
CIE-LABlab(54.01, 27.88, -64.74)
CIE-LCHlch(54.01, 70.49, 293.30°)
OKLaboklab(61.4% 0.0042 -0.1855)
OKLCHoklch(61.4% 0.186 271.3)
XYZxyz(27.2346, 21.9819, 86.7949)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E77F2 #F2D95E
analogous
#5EC1F2 #5E77F2 #8F5EF2
triadic
#5E77F2 #F25E77 #77F25E
tetradic
#5E77F2 #F25EC1 #F2D95E #5EF28F
square
#5E77F2 #F25EC1 #F2D95E #5EF28F
split-complementary
#5E77F2 #F28F5E #C1F25E
monochromatic
#102FC6 #2547ED #5E77F2 #97A7F7 #CFD7FB

Accessibility & contrast

On white

3.89
#5E77F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5E77F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E77F2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E77F2#FFFFFF#000000##000000
##5E77F21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3088F6
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e77f2;
/* rgb */ color: rgb(94, 119, 242);
/* oklch */ color: oklch(61.4% 0.186 271.3);
Tailwind
colors: {
  custom: {
    50: '#999df7',
    500: '#5e77f2',
    950: '#000000',
  },
}
SCSS
$custom: #5e77f2;
$custom-light: #999df7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e77f2",
  "rgb": {
    "r": 94,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 229.865,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61403,
    "c": 0.18558,
    "h": 271.3
  },
  "luminance": 0.21984
}

Semantic roles & 50–950 ramp

primary
#5E77F2
secondary
#EEE6BD
accent
#BC04E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E77F2

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

Preview Lab → · Contrast checker → · Palette generator →

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