#9EA7FE#9EA7FE

#9EA7FE is a light, vivid blue. Relative luminance 0.421; OKLCH L 75.6% C 0.125 H 278.4°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#9EA7FE
RGBrgb(158, 167, 254)
HSLhsl(234, 98%, 81%)
HSVhsv(234, 38%, 100%)
CMYKcmyk(37.8%, 34.3%, 0%, 0.4%)
CIE-LABlab(70.91, 17.38, -44.20)
CIE-LCHlch(70.91, 47.50, 291.47°)
OKLaboklab(75.57% 0.0184 -0.1238)
OKLCHoklch(75.57% 0.125 278.4)
XYZxyz(45.8035, 42.0605, 99.4518)
Luminance0.4206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA7FE #FEF59E
analogous
#9ED7FE #9EA7FE #C59EFE
triadic
#9EA7FE #FE9EA7 #A7FE9E
tetradic
#9EA7FE #FE9ED7 #FEF59E #9EFEC5
square
#9EA7FE #FE9ED7 #FEF59E #9EFEC5
split-complementary
#9EA7FE #FEC59E #D7FE9E
monochromatic
#2539FD #6170FD #9EA7FE #DBDEFF #E1E4FF

Accessibility & contrast

On white

2.23
#9EA7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#9EA7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA7FE
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA7FE#FFFFFF#000000##000000
##9EA7FE1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#84AAFC
Tritanopia (blue-blind)
#82B8C7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9ea7fe;
/* rgb */ color: rgb(158, 167, 254);
/* oklch */ color: oklch(75.6% 0.125 278.4);
Tailwind
colors: {
  custom: {
    50: '#bec1ff',
    500: '#9ea7fe',
    950: '#000000',
  },
}
SCSS
$custom: #9ea7fe;
$custom-light: #bec1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea7fe",
  "rgb": {
    "r": 158,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 234.375,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.75574,
    "c": 0.12513,
    "h": 278.4
  },
  "luminance": 0.42062
}

Semantic roles & 50–950 ramp

primary
#9EA7FE
secondary
#F7F4D4
accent
#D000E6
background
#FBFBFF
surface
#F7F7FF
border
#D0D0D7
text
#121218
muted
#818186

Preview Lab

Preview with #9EA7FE

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

Preview Lab → · Contrast checker → · Palette generator →

#9EA7FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva