#5E7FE1#5E7FE1

#5E7FE1 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.9% C 0.153 H 267.8°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5E7FE1
RGBrgb(94, 127, 225)
HSLhsl(225, 69%, 63%)
HSVhsv(225, 58%, 88%)
CMYKcmyk(58.2%, 43.6%, 0%, 11.8%)
CIE-LABlab(55.06, 17.39, -53.55)
CIE-LCHlch(55.06, 56.31, 287.99°)
OKLaboklab(61.88% -0.0059 -0.1525)
OKLCHoklch(61.88% 0.153 267.8)
XYZxyz(25.7915, 22.9926, 74.2984)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7FE1 #E1C05E
analogous
#5EC1E1 #5E7FE1 #7E5EE1
triadic
#5E7FE1 #E15E7F #7FE15E
tetradic
#5E7FE1 #E15EC1 #E1C05E #5EE17E
square
#5E7FE1 #E15EC1 #E1C05E #5EE17E
split-complementary
#5E7FE1 #E17E5E #C1E15E
monochromatic
#1F41A6 #2A56D7 #5E7FE1 #92A8EB #C5D1F4

Accessibility & contrast

On white

3.75
#5E7FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#5E7FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7FE1
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7FE1#FFFFFF#000000##000000
##5E7FE11.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#538AE5
Deuteranopia (green-blind)
#417EDF
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5e7fe1;
/* rgb */ color: rgb(94, 127, 225);
/* oklch */ color: oklch(61.9% 0.153 267.8);
Tailwind
colors: {
  custom: {
    50: '#96a3eb',
    500: '#5e7fe1',
    950: '#000000',
  },
}
SCSS
$custom: #5e7fe1;
$custom-light: #96a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7fe1",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 225
  },
  "hsl": {
    "h": 224.885,
    "s": 68.586,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6188,
    "c": 0.15266,
    "h": 267.8
  },
  "luminance": 0.22995
}

Semantic roles & 50–950 ramp

primary
#5E7FE1
secondary
#E5D9B6
accent
#A115D1
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5E7FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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