#5E7CF2#5E7CF2

#5E7CF2 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.4% C 0.179 H 269.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5E7CF2
RGBrgb(94, 124, 242)
HSLhsl(228, 85%, 66%)
HSVhsv(228, 61%, 95%)
CMYKcmyk(61.2%, 48.8%, 0%, 5.1%)
CIE-LABlab(55.28, 24.83, -62.69)
CIE-LCHlch(55.28, 67.43, 291.61°)
OKLaboklab(62.37% -0.0006 -0.1794)
OKLCHoklch(62.37% 0.179 269.8)
XYZxyz(27.8454, 23.2034, 86.9985)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7CF2 #F2D45E
analogous
#5EC6F2 #5E7CF2 #8A5EF2
triadic
#5E7CF2 #F25E7C #7CF25E
tetradic
#5E7CF2 #F25EC6 #F2D45E #5EF28A
square
#5E7CF2 #F25EC6 #F2D45E #5EF28A
split-complementary
#5E7CF2 #F28A5E #C6F25E
monochromatic
#1035C6 #254EED #5E7CF2 #97AAF7 #CFD8FB

Accessibility & contrast

On white

3.72
#5E7CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5E7CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7CF2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7CF2#FFFFFF#000000##000000
##5E7CF21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8BF6
Deuteranopia (green-blind)
#1D7EF0
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5e7cf2;
/* rgb */ color: rgb(94, 124, 242);
/* oklch */ color: oklch(62.4% 0.179 269.8);
Tailwind
colors: {
  custom: {
    50: '#98a1f7',
    500: '#5e7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #5e7cf2;
$custom-light: #98a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7cf2",
  "rgb": {
    "r": 94,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 227.838,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62367,
    "c": 0.17943,
    "h": 269.8
  },
  "luminance": 0.23206
}

Semantic roles & 50–950 ramp

primary
#5E7CF2
secondary
#EEE4BD
accent
#B504E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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