#5E6AF7#5E6AF7

#5E6AF7 is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.4% C 0.208 H 274.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5E6AF7
RGBrgb(94, 106, 247)
HSLhsl(235, 91%, 67%)
HSVhsv(235, 62%, 97%)
CMYKcmyk(61.9%, 57.1%, 0%, 3.1%)
CIE-LABlab(51.15, 37.41, -72.14)
CIE-LCHlch(51.15, 81.26, 297.41°)
OKLaboklab(59.37% 0.0162 -0.2074)
OKLCHoklch(59.37% 0.208 274.5)
XYZxyz(26.5531, 19.4010, 90.3231)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6AF7 #F7EB5E
analogous
#5EB7F7 #5E6AF7 #9F5EF7
triadic
#5E6AF7 #F75E6A #6AF75E
tetradic
#5E6AF7 #F75EB7 #F7EB5E #5EF79F
square
#5E6AF7 #F75EB7 #F7EB5E #5EF79F
split-complementary
#5E6AF7 #F79F5E #B7F75E
monochromatic
#0A1AD0 #2434F4 #5E6AF7 #98A0FA #D3D6FD

Accessibility & contrast

On white

4.30
#5E6AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5E6AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6AF7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6AF7#FFFFFF#000000##000000
##5E6AF71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#0073F4
Tritanopia (blue-blind)
#008CA6
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e6af7;
/* rgb */ color: rgb(94, 106, 247);
/* oklch */ color: oklch(59.4% 0.208 274.5);
Tailwind
colors: {
  custom: {
    50: '#9a94fb',
    500: '#5e6af7',
    950: '#000000',
  },
}
SCSS
$custom: #5e6af7;
$custom-light: #9a94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6af7",
  "rgb": {
    "r": 94,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 235.294,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59371,
    "c": 0.20807,
    "h": 274.5
  },
  "luminance": 0.19403
}

Semantic roles & 50–950 ramp

primary
#5E6AF7
secondary
#F1EDC0
accent
#D300E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5E6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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