#5E89F3#5E89F3

#5E89F3 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.0% C 0.165 H 265.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5E89F3
RGBrgb(94, 137, 243)
HSLhsl(223, 86%, 66%)
HSVhsv(223, 61%, 95%)
CMYKcmyk(61.3%, 43.6%, 0%, 4.7%)
CIE-LABlab(58.73, 17.30, -57.71)
CIE-LCHlch(58.73, 60.25, 286.69°)
OKLaboklab(65.02% -0.0131 -0.1646)
OKLCHoklch(65.02% 0.165 265.5)
XYZxyz(29.7338, 26.7394, 88.3709)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E89F3 #F3C85E
analogous
#5ED3F3 #5E89F3 #7D5EF3
triadic
#5E89F3 #F35E89 #89F35E
tetradic
#5E89F3 #F35ED3 #F3C85E #5EF37D
square
#5E89F3 #F35ED3 #F3C85E #5EF37D
split-complementary
#5E89F3 #F37D5E #D3F35E
monochromatic
#0F44C8 #255FEF #5E89F3 #97B3F7 #D0DCFB

Accessibility & contrast

On white

3.31
#5E89F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#5E89F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E89F3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E89F3#FFFFFF#000000##000000
##5E89F31.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5895F7
Deuteranopia (green-blind)
#4187F1
Tritanopia (blue-blind)
#00A1B2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5e89f3;
/* rgb */ color: rgb(94, 137, 243);
/* oklch */ color: oklch(65.0% 0.165 265.5);
Tailwind
colors: {
  custom: {
    50: '#98aaf8',
    500: '#5e89f3',
    950: '#000000',
  },
}
SCSS
$custom: #5e89f3;
$custom-light: #98aaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e89f3",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 243
  },
  "hsl": {
    "h": 222.685,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65021,
    "c": 0.16515,
    "h": 265.5
  },
  "luminance": 0.26742
}

Semantic roles & 50–950 ramp

primary
#5E89F3
secondary
#EFE1BE
accent
#A203E3
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5E89F3

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

Preview Lab → · Contrast checker → · Palette generator →

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