#5E7DF2#5E7DF2

#5E7DF2 is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.6% C 0.178 H 269.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5E7DF2
RGBrgb(94, 125, 242)
HSLhsl(227, 85%, 66%)
HSVhsv(227, 61%, 95%)
CMYKcmyk(61.2%, 48.3%, 0%, 5.1%)
CIE-LABlab(55.54, 24.22, -62.27)
CIE-LCHlch(55.54, 66.82, 291.26°)
OKLaboklab(62.56% -0.0015 -0.1782)
OKLCHoklch(62.56% 0.178 269.5)
XYZxyz(27.9713, 23.4553, 87.0405)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7DF2 #F2D35E
analogous
#5EC7F2 #5E7DF2 #895EF2
triadic
#5E7DF2 #F25E7D #7DF25E
tetradic
#5E7DF2 #F25EC7 #F2D35E #5EF289
square
#5E7DF2 #F25EC7 #F2D35E #5EF289
split-complementary
#5E7DF2 #F2895E #C7F25E
monochromatic
#1036C6 #254FED #5E7DF2 #97ABF7 #CFD8FB

Accessibility & contrast

On white

3.69
#5E7DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#5E7DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7DF2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7DF2#FFFFFF#000000##000000
##5E7DF21.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#408CF6
Deuteranopia (green-blind)
#217FF0
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5e7df2;
/* rgb */ color: rgb(94, 125, 242);
/* oklch */ color: oklch(62.6% 0.178 269.5);
Tailwind
colors: {
  custom: {
    50: '#98a2f7',
    500: '#5e7df2',
    950: '#000000',
  },
}
SCSS
$custom: #5e7df2;
$custom-light: #98a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7df2",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 227.432,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62563,
    "c": 0.17822,
    "h": 269.5
  },
  "luminance": 0.23458
}

Semantic roles & 50–950 ramp

primary
#5E7DF2
secondary
#EEE4BD
accent
#B304E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5E7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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