#5E8AF2#5E8AF2

#5E8AF2 is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.2% C 0.163 H 265.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5E8AF2
RGBrgb(94, 138, 242)
HSLhsl(222, 85%, 66%)
HSVhsv(222, 61%, 95%)
CMYKcmyk(61.2%, 43%, 0%, 5.1%)
CIE-LABlab(58.94, 16.37, -56.82)
CIE-LCHlch(58.94, 59.13, 286.07°)
OKLaboklab(65.16% -0.0142 -0.162)
OKLCHoklch(65.16% 0.163 265)
XYZxyz(29.7261, 26.9648, 87.6254)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8AF2 #F2C65E
analogous
#5ED4F2 #5E8AF2 #7C5EF2
triadic
#5E8AF2 #F25E8A #8AF25E
tetradic
#5E8AF2 #F25ED4 #F2C65E #5EF27C
square
#5E8AF2 #F25ED4 #F2C65E #5EF27C
split-complementary
#5E8AF2 #F27C5E #D4F25E
monochromatic
#1046C6 #2561ED #5E8AF2 #97B3F7 #CFDCFB

Accessibility & contrast

On white

3.28
#5E8AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#5E8AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8AF2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8AF2#FFFFFF#000000##000000
##5E8AF21.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#4488F0
Tritanopia (blue-blind)
#00A2B2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5e8af2;
/* rgb */ color: rgb(94, 138, 242);
/* oklch */ color: oklch(65.2% 0.163 265.0);
Tailwind
colors: {
  custom: {
    50: '#98abf7',
    500: '#5e8af2',
    950: '#000000',
  },
}
SCSS
$custom: #5e8af2;
$custom-light: #98abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8af2",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 222.162,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65164,
    "c": 0.16265,
    "h": 265
  },
  "luminance": 0.26967
}

Semantic roles & 50–950 ramp

primary
#5E8AF2
secondary
#EEE0BD
accent
#A004E2
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5E8AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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