#5E7BF2#5E7BF2

#5E7BF2 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.2% C 0.181 H 270.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5E7BF2
RGBrgb(94, 123, 242)
HSLhsl(228, 85%, 66%)
HSVhsv(228, 61%, 95%)
CMYKcmyk(61.2%, 49.2%, 0%, 5.1%)
CIE-LABlab(55.02, 25.44, -63.10)
CIE-LCHlch(55.02, 68.04, 291.96°)
OKLaboklab(62.17% 0.0004 -0.1807)
OKLCHoklch(62.17% 0.181 270.1)
XYZxyz(27.7207, 22.9541, 86.9569)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7BF2 #F2D55E
analogous
#5EC5F2 #5E7BF2 #8B5EF2
triadic
#5E7BF2 #F25E7B #7BF25E
tetradic
#5E7BF2 #F25EC5 #F2D55E #5EF28B
square
#5E7BF2 #F25EC5 #F2D55E #5EF28B
split-complementary
#5E7BF2 #F28B5E #C5F25E
monochromatic
#1034C6 #254DED #5E7BF2 #97A9F7 #CFD8FB

Accessibility & contrast

On white

3.76
#5E7BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5E7BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7BF2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7BF2#FFFFFF#000000##000000
##5E7BF21.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8BF6
Deuteranopia (green-blind)
#187DF0
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5e7bf2;
/* rgb */ color: rgb(94, 123, 242);
/* oklch */ color: oklch(62.2% 0.181 270.1);
Tailwind
colors: {
  custom: {
    50: '#98a0f7',
    500: '#5e7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #5e7bf2;
$custom-light: #98a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7bf2",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 228.243,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62173,
    "c": 0.18066,
    "h": 270.1
  },
  "luminance": 0.22956
}

Semantic roles & 50–950 ramp

primary
#5E7BF2
secondary
#EEE5BD
accent
#B604E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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