#5E7DF5#5E7DF5

#5E7DF5 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.8% C 0.182 H 269.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5E7DF5
RGBrgb(94, 125, 245)
HSLhsl(228, 88%, 66%)
HSVhsv(228, 62%, 96%)
CMYKcmyk(61.6%, 49%, 0%, 3.9%)
CIE-LABlab(55.72, 25.22, -63.64)
CIE-LCHlch(55.72, 68.46, 291.62°)
OKLaboklab(62.76% -0.0012 -0.1822)
OKLCHoklch(62.76% 0.182 269.6)
XYZxyz(28.4256, 23.6370, 89.4329)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7DF5 #F5D65E
analogous
#5EC9F5 #5E7DF5 #8B5EF5
triadic
#5E7DF5 #F55E7D #7DF55E
tetradic
#5E7DF5 #F55EC9 #F5D65E #5EF58B
square
#5E7DF5 #F55EC9 #F5D65E #5EF58B
split-complementary
#5E7DF5 #F58B5E #C9F55E
monochromatic
#0D34CC #244EF1 #5E7DF5 #98ACF9 #D1DAFC

Accessibility & contrast

On white

3.67
#5E7DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5E7DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7DF5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7DF5#FFFFFF#000000##000000
##5E7DF51.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8DF9
Deuteranopia (green-blind)
#197FF3
Tritanopia (blue-blind)
#0099AD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5e7df5;
/* rgb */ color: rgb(94, 125, 245);
/* oklch */ color: oklch(62.8% 0.182 269.6);
Tailwind
colors: {
  custom: {
    50: '#99a2f9',
    500: '#5e7df5',
    950: '#000000',
  },
}
SCSS
$custom: #5e7df5;
$custom-light: #99a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7df5",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 227.682,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62762,
    "c": 0.18223,
    "h": 269.6
  },
  "luminance": 0.23639
}

Semantic roles & 50–950 ramp

primary
#5E7DF5
secondary
#F0E6BF
accent
#B601E5
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5E7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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