#918EEF#918EEF

#918EEF is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.1% C 0.140 H 283.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#918EEF
RGBrgb(145, 142, 239)
HSLhsl(242, 75%, 75%)
HSVhsv(242, 41%, 94%)
CMYKcmyk(39.3%, 40.6%, 0%, 6.3%)
CIE-LABlab(63.01, 24.29, -48.51)
CIE-LCHlch(63.01, 54.25, 296.60°)
OKLaboklab(69.05% 0.0328 -0.1366)
OKLCHoklch(69.05% 0.14 283.5)
XYZxyz(36.9256, 31.5964, 85.7977)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918EEF #ECEF8E
analogous
#8EBBEF #918EEF #C28EEF
triadic
#918EEF #EF918E #8EEF91
tetradic
#918EEF #EF8EBB #ECEF8E #8EEFC2
square
#918EEF #EF8EBB #ECEF8E #8EEFC2
split-complementary
#918EEF #EFC28E #BBEF8E
monochromatic
#2923E0 #5D58E7 #918EEF #C5C4F7 #E5E4FB

Accessibility & contrast

On white

2.87
#918EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#918EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #918EEF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918EEF#FFFFFF#000000##000000
##918EEF1.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)
#6C9CF3
Deuteranopia (green-blind)
#6995ED
Tritanopia (blue-blind)
#76A1B3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #918eef;
/* rgb */ color: rgb(145, 142, 239);
/* oklch */ color: oklch(69.1% 0.140 283.5);
Tailwind
colors: {
  custom: {
    50: '#b5aff4',
    500: '#918eef',
    950: '#000000',
  },
}
SCSS
$custom: #918eef;
$custom-light: #b5aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#918eef",
  "rgb": {
    "r": 145,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 241.856,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69051,
    "c": 0.14047,
    "h": 283.5
  },
  "luminance": 0.31598
}

Semantic roles & 50–950 ramp

primary
#918EEF
secondary
#F2F3D8
accent
#D70ED1
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #918EEF

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

Preview Lab → · Contrast checker → · Palette generator →

#918EEF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva