#5E6FE3#5E6FE3

#5E6FE3 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.8% C 0.175 H 273.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5E6FE3
RGBrgb(94, 111, 227)
HSLhsl(232, 70%, 63%)
HSVhsv(232, 59%, 89%)
CMYKcmyk(58.6%, 51.1%, 0%, 11%)
CIE-LABlab(51.03, 27.82, -61.15)
CIE-LCHlch(51.03, 67.18, 294.46°)
OKLaboklab(58.85% 0.0107 -0.1751)
OKLCHoklch(58.85% 0.175 273.5)
XYZxyz(24.1611, 19.2927, 75.1088)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6FE3 #E3D25E
analogous
#5EB1E3 #5E6FE3 #8F5EE3
triadic
#5E6FE3 #E35E6F #6FE35E
tetradic
#5E6FE3 #E35EB1 #E3D25E #5EE38F
square
#5E6FE3 #E35EB1 #E3D25E #5EE38F
split-complementary
#5E6FE3 #E38F5E #B1E35E
monochromatic
#1D2FA9 #2A40DA #5E6FE3 #929EEC #C6CCF5

Accessibility & contrast

On white

4.32
#5E6FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5E6FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6FE3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6FE3#FFFFFF#000000##000000
##5E6FE31.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7FE7
Deuteranopia (green-blind)
#0974E1
Tritanopia (blue-blind)
#008A9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e6fe3;
/* rgb */ color: rgb(94, 111, 227);
/* oklch */ color: oklch(58.8% 0.175 273.5);
Tailwind
colors: {
  custom: {
    50: '#9798ec',
    500: '#5e6fe3',
    950: '#000000',
  },
}
SCSS
$custom: #5e6fe3;
$custom-light: #9798ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6fe3",
  "rgb": {
    "r": 94,
    "g": 111,
    "b": 227
  },
  "hsl": {
    "h": 232.331,
    "s": 70.37,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58849,
    "c": 0.17539,
    "h": 273.5
  },
  "luminance": 0.19295
}

Semantic roles & 50–950 ramp

primary
#5E6FE3
secondary
#E6E0B6
accent
#BA13D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5E6FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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