#5E81F2#5E81F2

#5E81F2 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.4% C 0.173 H 268.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5E81F2
RGBrgb(94, 129, 242)
HSLhsl(226, 85%, 66%)
HSVhsv(226, 61%, 95%)
CMYKcmyk(61.2%, 46.7%, 0%, 5.1%)
CIE-LABlab(56.57, 21.80, -60.61)
CIE-LCHlch(56.57, 64.41, 289.78°)
OKLaboklab(63.35% -0.0054 -0.1733)
OKLCHoklch(63.35% 0.173 268.2)
XYZxyz(28.4879, 24.4885, 87.2127)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E81F2 #F2CF5E
analogous
#5ECBF2 #5E81F2 #855EF2
triadic
#5E81F2 #F25E81 #81F25E
tetradic
#5E81F2 #F25ECB #F2CF5E #5EF285
square
#5E81F2 #F25ECB #F2CF5E #5EF285
split-complementary
#5E81F2 #F2855E #CBF25E
monochromatic
#103BC6 #2555ED #5E81F2 #97ADF7 #CFDAFB

Accessibility & contrast

On white

3.56
#5E81F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#5E81F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E81F2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E81F2#FFFFFF#000000##000000
##5E81F21.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#498FF6
Deuteranopia (green-blind)
#2E81F0
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5e81f2;
/* rgb */ color: rgb(94, 129, 242);
/* oklch */ color: oklch(63.4% 0.173 268.2);
Tailwind
colors: {
  custom: {
    50: '#98a5f7',
    500: '#5e81f2',
    950: '#000000',
  },
}
SCSS
$custom: #5e81f2;
$custom-light: #98a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e81f2",
  "rgb": {
    "r": 94,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 225.811,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63351,
    "c": 0.17335,
    "h": 268.2
  },
  "luminance": 0.24491
}

Semantic roles & 50–950 ramp

primary
#5E81F2
secondary
#EEE3BD
accent
#AD04E2
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5E81F2

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

Preview Lab → · Contrast checker → · Palette generator →

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