#7E9CF8#7E9CF8

#7E9CF8 is a light, vivid blue. Relative luminance 0.350; OKLCH L 71.0% C 0.139 H 269.0°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7E9CF8
RGBrgb(126, 156, 248)
HSLhsl(225, 90%, 73%)
HSVhsv(225, 49%, 97%)
CMYKcmyk(49.2%, 37.1%, 0%, 2.7%)
CIE-LABlab(65.74, 14.17, -49.22)
CIE-LCHlch(65.74, 51.22, 286.06°)
OKLaboklab(70.96% -0.0024 -0.139)
OKLCHoklch(70.96% 0.139 269)
XYZxyz(37.4304, 34.9874, 93.5696)
Luminance0.3499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9CF8 #F8DA7E
analogous
#7ED9F8 #7E9CF8 #9D7EF8
triadic
#7E9CF8 #F87E9C #9CF87E
tetradic
#7E9CF8 #F87ED9 #F8DA7E #7EF89D
square
#7E9CF8 #F87ED9 #F8DA7E #7EF89D
split-complementary
#7E9CF8 #F89D7E #D9F87E
monochromatic
#0D44EF #446FF5 #7E9CF8 #B8C9FB #E2E9FD

Accessibility & contrast

On white

2.63
#7E9CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#7E9CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E9CF8
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9CF8#FFFFFF#000000##000000
##7E9CF81.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FC
Deuteranopia (green-blind)
#6C9BF6
Tritanopia (blue-blind)
#4AB0BE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7e9cf8;
/* rgb */ color: rgb(126, 156, 248);
/* oklch */ color: oklch(71.0% 0.139 269.0);
Tailwind
colors: {
  custom: {
    50: '#aab8fb',
    500: '#7e9cf8',
    950: '#000000',
  },
}
SCSS
$custom: #7e9cf8;
$custom-light: #aab8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9cf8",
  "rgb": {
    "r": 126,
    "g": 156,
    "b": 248
  },
  "hsl": {
    "h": 225.246,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70963,
    "c": 0.13901,
    "h": 269
  },
  "luminance": 0.3499
}

Semantic roles & 50–950 ramp

primary
#7E9CF8
secondary
#F6EED5
accent
#AD00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7E9CF8

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

Preview Lab → · Contrast checker → · Palette generator →

#7E9CF8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva