#5E8CF2#5E8CF2

#5E8CF2 is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.6% C 0.160 H 264.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5E8CF2
RGBrgb(94, 140, 242)
HSLhsl(221, 85%, 66%)
HSVhsv(221, 61%, 95%)
CMYKcmyk(61.2%, 42.1%, 0%, 5.1%)
CIE-LABlab(59.47, 15.17, -55.97)
CIE-LCHlch(59.47, 57.99, 285.16°)
OKLaboklab(65.57% -0.0162 -0.1595)
OKLCHoklch(65.57% 0.16 264.2)
XYZxyz(30.0156, 27.5440, 87.7219)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8CF2 #F2C45E
analogous
#5ED6F2 #5E8CF2 #7A5EF2
triadic
#5E8CF2 #F25E8C #8CF25E
tetradic
#5E8CF2 #F25ED6 #F2C45E #5EF27A
square
#5E8CF2 #F25ED6 #F2C45E #5EF27A
split-complementary
#5E8CF2 #F27A5E #D6F25E
monochromatic
#1048C6 #2564ED #5E8CF2 #97B4F7 #CFDDFB

Accessibility & contrast

On white

3.23
#5E8CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#5E8CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8CF2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8CF2#FFFFFF#000000##000000
##5E8CF21.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E96F6
Deuteranopia (green-blind)
#4889F0
Tritanopia (blue-blind)
#00A3B3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5e8cf2;
/* rgb */ color: rgb(94, 140, 242);
/* oklch */ color: oklch(65.6% 0.160 264.2);
Tailwind
colors: {
  custom: {
    50: '#98adf7',
    500: '#5e8cf2',
    950: '#000000',
  },
}
SCSS
$custom: #5e8cf2;
$custom-light: #98adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8cf2",
  "rgb": {
    "r": 94,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 221.351,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65574,
    "c": 0.16032,
    "h": 264.2
  },
  "luminance": 0.27547
}

Semantic roles & 50–950 ramp

primary
#5E8CF2
secondary
#EEDFBD
accent
#9D04E2
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5E8CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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