#7E9BF8#7E9BF8

#7E9BF8 is a light, vivid blue. Relative luminance 0.347; OKLCH L 70.8% C 0.140 H 269.5°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7E9BF8
RGBrgb(126, 155, 248)
HSLhsl(226, 90%, 73%)
HSVhsv(226, 49%, 97%)
CMYKcmyk(49.2%, 37.5%, 0%, 2.7%)
CIE-LABlab(65.48, 14.75, -49.63)
CIE-LCHlch(65.48, 51.78, 286.55°)
OKLaboklab(70.76% -0.0013 -0.1402)
OKLCHoklch(70.76% 0.14 269.5)
XYZxyz(37.2633, 34.6532, 93.5139)
Luminance0.3466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9BF8 #F8DB7E
analogous
#7ED8F8 #7E9BF8 #9E7EF8
triadic
#7E9BF8 #F87E9B #9BF87E
tetradic
#7E9BF8 #F87ED8 #F8DB7E #7EF89E
square
#7E9BF8 #F87ED8 #F8DB7E #7EF89E
split-complementary
#7E9BF8 #F89E7E #D8F87E
monochromatic
#0D43EF #446EF5 #7E9BF8 #B8C8FB #E2E8FD

Accessibility & contrast

On white

2.65
#7E9BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#7E9BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E9BF8
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9BF8#FFFFFF#000000##000000
##7E9BF81.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FC
Deuteranopia (green-blind)
#6A9AF6
Tritanopia (blue-blind)
#4AAFBE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7e9bf8;
/* rgb */ color: rgb(126, 155, 248);
/* oklch */ color: oklch(70.8% 0.140 269.5);
Tailwind
colors: {
  custom: {
    50: '#aab8fb',
    500: '#7e9bf8',
    950: '#000000',
  },
}
SCSS
$custom: #7e9bf8;
$custom-light: #aab8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9bf8",
  "rgb": {
    "r": 126,
    "g": 155,
    "b": 248
  },
  "hsl": {
    "h": 225.738,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70762,
    "c": 0.14021,
    "h": 269.5
  },
  "luminance": 0.34656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E9BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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