#5E7AF4#5E7AF4

#5E7AF4 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.1% C 0.185 H 270.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5E7AF4
RGBrgb(94, 122, 244)
HSLhsl(229, 87%, 66%)
HSVhsv(229, 61%, 96%)
CMYKcmyk(61.5%, 50%, 0%, 4.3%)
CIE-LABlab(54.89, 26.71, -64.42)
CIE-LCHlch(54.89, 69.74, 292.52°)
OKLaboklab(62.11% 0.0015 -0.1846)
OKLCHoklch(62.11% 0.185 270.5)
XYZxyz(27.8993, 22.8280, 88.5064)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7AF4 #F4D85E
analogous
#5EC5F4 #5E7AF4 #8D5EF4
triadic
#5E7AF4 #F45E7A #7AF45E
tetradic
#5E7AF4 #F45EC5 #F4D85E #5EF48D
square
#5E7AF4 #F45EC5 #F4D85E #5EF48D
split-complementary
#5E7AF4 #F48D5E #C5F45E
monochromatic
#0E31CA #254BF0 #5E7AF4 #97A9F8 #D1D9FC

Accessibility & contrast

On white

3.77
#5E7AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5E7AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7AF4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7AF4#FFFFFF#000000##000000
##5E7AF41.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#368AF8
Deuteranopia (green-blind)
#087DF1
Tritanopia (blue-blind)
#0096AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5e7af4;
/* rgb */ color: rgb(94, 122, 244);
/* oklch */ color: oklch(62.1% 0.185 270.5);
Tailwind
colors: {
  custom: {
    50: '#99a0f8',
    500: '#5e7af4',
    950: '#000000',
  },
}
SCSS
$custom: #5e7af4;
$custom-light: #99a0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7af4",
  "rgb": {
    "r": 94,
    "g": 122,
    "b": 244
  },
  "hsl": {
    "h": 228.8,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62114,
    "c": 0.18457,
    "h": 270.5
  },
  "luminance": 0.2283
}

Semantic roles & 50–950 ramp

primary
#5E7AF4
secondary
#EFE6BE
accent
#BA02E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E7AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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