#5E7AEF#5E7AEF

#5E7AEF is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.8% C 0.178 H 270.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5E7AEF
RGBrgb(94, 122, 239)
HSLhsl(228, 82%, 65%)
HSVhsv(228, 61%, 94%)
CMYKcmyk(60.7%, 49%, 0%, 6.3%)
CIE-LABlab(54.58, 25.05, -62.14)
CIE-LCHlch(54.58, 67.00, 291.96°)
OKLaboklab(61.78% 0.001 -0.1778)
OKLCHoklch(61.78% 0.178 270.3)
XYZxyz(27.1504, 22.5285, 84.5623)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7AEF #EFD35E
analogous
#5EC2EF #5E7AEF #8B5EEF
triadic
#5E7AEF #EF5E7A #7AEF5E
tetradic
#5E7AEF #EF5EC2 #EFD35E #5EEF8B
square
#5E7AEF #EF5EC2 #EFD35E #5EEF8B
split-complementary
#5E7AEF #EF8B5E #C2EF5E
monochromatic
#1334C0 #264CE9 #5E7AEF #96A8F5 #CDD6FA

Accessibility & contrast

On white

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

On black

5.51
#5E7AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7AEF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7AEF#FFFFFF#000000##000000
##5E7AEF1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C89F3
Deuteranopia (green-blind)
#1C7CED
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5e7aef;
/* rgb */ color: rgb(94, 122, 239);
/* oklch */ color: oklch(61.8% 0.178 270.3);
Tailwind
colors: {
  custom: {
    50: '#98a0f5',
    500: '#5e7aef',
    950: '#000000',
  },
}
SCSS
$custom: #5e7aef;
$custom-light: #98a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7aef",
  "rgb": {
    "r": 94,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 228.414,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61778,
    "c": 0.17785,
    "h": 270.3
  },
  "luminance": 0.22531
}

Semantic roles & 50–950 ramp

primary
#5E7AEF
secondary
#EDE3BC
accent
#B507DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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