#8A90EF#8A90EF

#8A90EF is a light, vivid blue. Relative luminance 0.316; OKLCH L 68.9% C 0.139 H 279.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8A90EF
RGBrgb(138, 144, 239)
HSLhsl(236, 76%, 74%)
HSVhsv(236, 42%, 94%)
CMYKcmyk(42.3%, 39.7%, 0%, 6.3%)
CIE-LABlab(62.99, 21.37, -48.56)
CIE-LCHlch(62.99, 53.06, 293.75°)
OKLaboklab(68.91% 0.0225 -0.1369)
OKLCHoklch(68.91% 0.139 279.3)
XYZxyz(36.0299, 31.5801, 85.8418)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A90EF #EFE98A
analogous
#8AC3EF #8A90EF #B78AEF
triadic
#8A90EF #EF8A90 #90EF8A
tetradic
#8A90EF #EF8AC3 #EFE98A #8AEFB7
square
#8A90EF #EF8AC3 #EFE98A #8AEFB7
split-complementary
#8A90EF #EFB78A #C3EF8A
monochromatic
#1F2AE0 #545DE8 #8A90EF #C0C3F6 #E4E5FB

Accessibility & contrast

On white

2.87
#8A90EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#8A90EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A90EF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A90EF#FFFFFF#000000##000000
##8A90EF1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF3
Deuteranopia (green-blind)
#6795ED
Tritanopia (blue-blind)
#6AA3B4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a90ef;
/* rgb */ color: rgb(138, 144, 239);
/* oklch */ color: oklch(68.9% 0.139 279.3);
Tailwind
colors: {
  custom: {
    50: '#b0b0f4',
    500: '#8a90ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a90ef;
$custom-light: #b0b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a90ef",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 239
  },
  "hsl": {
    "h": 236.436,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68912,
    "c": 0.13875,
    "h": 279.3
  },
  "luminance": 0.31582
}

Semantic roles & 50–950 ramp

primary
#8A90EF
secondary
#F3F1D8
accent
#CC0DD8
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8A90EF

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

Preview Lab → · Contrast checker → · Palette generator →

#8A90EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva