#5E7AF0#5E7AF0

#5E7AF0 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.8% C 0.179 H 270.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5E7AF0
RGBrgb(94, 122, 240)
HSLhsl(228, 83%, 65%)
HSVhsv(228, 61%, 94%)
CMYKcmyk(60.8%, 49.2%, 0%, 5.9%)
CIE-LABlab(54.65, 25.39, -62.60)
CIE-LCHlch(54.65, 67.55, 292.07°)
OKLaboklab(61.85% 0.0012 -0.1792)
OKLCHoklch(61.85% 0.179 270.4)
XYZxyz(27.2985, 22.5877, 85.3425)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7AF0 #F0D45E
analogous
#5EC3F0 #5E7AF0 #8B5EF0
triadic
#5E7AF0 #F05E7A #7AF05E
tetradic
#5E7AF0 #F05EC3 #F0D45E #5EF08B
square
#5E7AF0 #F05EC3 #F0D45E #5EF08B
split-complementary
#5E7AF0 #F08B5E #C3F05E
monochromatic
#1234C2 #264CEB #5E7AF0 #96A8F5 #CED6FA

Accessibility & contrast

On white

3.81
#5E7AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5E7AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7AF0
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7AF0#FFFFFF#000000##000000
##5E7AF01.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8AF4
Deuteranopia (green-blind)
#197DEE
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5e7af0;
/* rgb */ color: rgb(94, 122, 240);
/* oklch */ color: oklch(61.8% 0.179 270.4);
Tailwind
colors: {
  custom: {
    50: '#98a0f6',
    500: '#5e7af0',
    950: '#000000',
  },
}
SCSS
$custom: #5e7af0;
$custom-light: #98a0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7af0",
  "rgb": {
    "r": 94,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 228.493,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61845,
    "c": 0.1792,
    "h": 270.4
  },
  "luminance": 0.2259
}

Semantic roles & 50–950 ramp

primary
#5E7AF0
secondary
#EDE4BC
accent
#B606DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E7AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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