#5E7FF4#5E7FF4

#5E7FF4 is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.1% C 0.178 H 269.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5E7FF4
RGBrgb(94, 127, 244)
HSLhsl(227, 87%, 66%)
HSVhsv(227, 61%, 96%)
CMYKcmyk(61.5%, 48%, 0%, 4.3%)
CIE-LABlab(56.18, 23.67, -62.36)
CIE-LCHlch(56.18, 66.70, 290.79°)
OKLaboklab(63.09% -0.0032 -0.1784)
OKLCHoklch(63.09% 0.178 269)
XYZxyz(28.5291, 24.0876, 88.7164)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7FF4 #F4D35E
analogous
#5ECAF4 #5E7FF4 #885EF4
triadic
#5E7FF4 #F45E7F #7FF45E
tetradic
#5E7FF4 #F45ECA #F4D35E #5EF488
square
#5E7FF4 #F45ECA #F4D35E #5EF488
split-complementary
#5E7FF4 #F4885E #CAF45E
monochromatic
#0E37CA #2551F0 #5E7FF4 #97ADF8 #D1DAFC

Accessibility & contrast

On white

3.61
#5E7FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5E7FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7FF4
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7FF4#FFFFFF#000000##000000
##5E7FF41.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#428EF8
Deuteranopia (green-blind)
#2480F2
Tritanopia (blue-blind)
#009AAE
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5e7ff4;
/* rgb */ color: rgb(94, 127, 244);
/* oklch */ color: oklch(63.1% 0.178 269.0);
Tailwind
colors: {
  custom: {
    50: '#98a3f8',
    500: '#5e7ff4',
    950: '#000000',
  },
}
SCSS
$custom: #5e7ff4;
$custom-light: #98a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7ff4",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 226.8,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63086,
    "c": 0.17846,
    "h": 269
  },
  "luminance": 0.2409
}

Semantic roles & 50–950 ramp

primary
#5E7FF4
secondary
#EFE5BE
accent
#B202E4
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5E7FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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