#7E9BFC#7E9BFC

#7E9BFC is a light, vivid blue. Relative luminance 0.349; OKLCH L 71.0% C 0.146 H 269.8°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7E9BFC
RGBrgb(126, 155, 252)
HSLhsl(226, 95%, 74%)
HSVhsv(226, 50%, 99%)
CMYKcmyk(50%, 38.5%, 0%, 1.2%)
CIE-LABlab(65.67, 15.95, -51.50)
CIE-LCHlch(65.67, 53.92, 287.20°)
OKLaboklab(70.98% -0.0004 -0.1457)
OKLCHoklch(70.98% 0.146 269.8)
XYZxyz(37.8905, 34.9041, 96.8171)
Luminance0.3491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9BFC #FCDF7E
analogous
#7EDAFC #7E9BFC #A07EFC
triadic
#7E9BFC #FC7E9B #9BFC7E
tetradic
#7E9BFC #FC7EDA #FCDF7E #7EFCA0
square
#7E9BFC #FC7EDA #FCDF7E #7EFCA0
split-complementary
#7E9BFC #FCA07E #DAFC7E
monochromatic
#063EF9 #426DFB #7E9BFC #BAC9FD #E1E8FE

Accessibility & contrast

On white

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

On black

7.98
#7E9BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E9BFC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9BFC#FFFFFF#000000##000000
##7E9BFC1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FF
Deuteranopia (green-blind)
#679AFA
Tritanopia (blue-blind)
#47B0BF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7e9bfc;
/* rgb */ color: rgb(126, 155, 252);
/* oklch */ color: oklch(71.0% 0.146 269.8);
Tailwind
colors: {
  custom: {
    50: '#aab8fe',
    500: '#7e9bfc',
    950: '#000000',
  },
}
SCSS
$custom: #7e9bfc;
$custom-light: #aab8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9bfc",
  "rgb": {
    "r": 126,
    "g": 155,
    "b": 252
  },
  "hsl": {
    "h": 226.19,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70977,
    "c": 0.14567,
    "h": 269.8
  },
  "luminance": 0.34907
}

Semantic roles & 50–950 ramp

primary
#7E9BFC
secondary
#F7EFD4
accent
#B100E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7E9BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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