#898EE5#898EE5

#898EE5 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.9% C 0.128 H 279.9°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#898EE5
RGBrgb(137, 142, 229)
HSLhsl(237, 64%, 72%)
HSVhsv(237, 40%, 90%)
CMYKcmyk(40.2%, 38%, 0%, 10.2%)
CIE-LABlab(61.93, 19.48, -44.72)
CIE-LCHlch(61.93, 48.78, 293.54°)
OKLaboklab(67.92% 0.022 -0.1257)
OKLCHoklch(67.92% 0.128 279.9)
XYZxyz(34.1283, 30.3201, 78.1677)
Luminance0.3032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898EE5 #E5E089
analogous
#89BCE5 #898EE5 #B289E5
triadic
#898EE5 #E5898E #8EE589
tetradic
#898EE5 #E589BC #E5E089 #89E5B2
square
#898EE5 #E589BC #E5E089 #89E5B2
split-complementary
#898EE5 #E5B289 #BCE589
monochromatic
#2C34C8 #575EDA #898EE5 #BBBEF0 #E6E7F9

Accessibility & contrast

On white

2.97
#898EE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#898EE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #898EE5
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898EE5#FFFFFF#000000##000000
##898EE51.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7099E8
Deuteranopia (green-blind)
#6B92E3
Tritanopia (blue-blind)
#6D9FAF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #898ee5;
/* rgb */ color: rgb(137, 142, 229);
/* oklch */ color: oklch(67.9% 0.128 279.9);
Tailwind
colors: {
  custom: {
    50: '#afafed',
    500: '#898ee5',
    950: '#000000',
  },
}
SCSS
$custom: #898ee5;
$custom-light: #afafed;
$custom-dark: #000000;
JSON
{
  "hex": "#898ee5",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 229
  },
  "hsl": {
    "h": 236.739,
    "s": 63.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6792,
    "c": 0.12765,
    "h": 279.9
  },
  "luminance": 0.30322
}

Semantic roles & 50–950 ramp

primary
#898EE5
secondary
#F1EFD9
accent
#C21ACC
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #898EE5

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

Preview Lab → · Contrast checker → · Palette generator →

#898EE5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva