#7EA8FB#7EA8FB

#7EA8FB is a light, vivid blue. Relative luminance 0.394; OKLCH L 73.6% C 0.129 H 263.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7EA8FB
RGBrgb(126, 168, 251)
HSLhsl(220, 94%, 74%)
HSVhsv(220, 50%, 98%)
CMYKcmyk(49.8%, 33.1%, 0%, 1.6%)
CIE-LABlab(69.04, 8.18, -45.65)
CIE-LCHlch(69.04, 46.38, 280.15°)
OKLaboklab(73.57% -0.0155 -0.1285)
OKLCHoklch(73.57% 0.129 263.1)
XYZxyz(40.0136, 39.4032, 96.7451)
Luminance0.3941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA8FB #FBD17E
analogous
#7EE7FB #7EA8FB #937EFB
triadic
#7EA8FB #FB7EA8 #A8FB7E
tetradic
#7EA8FB #FB7EE7 #FBD17E #7EFB93
square
#7EA8FB #FB7EE7 #FBD17E #7EFB93
split-complementary
#7EA8FB #FB937E #E7FB7E
monochromatic
#0858F7 #4380F9 #7EA8FB #B9D0FD #E1EBFE

Accessibility & contrast

On white

2.36
#7EA8FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#7EA8FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA8FB
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA8FB#FFFFFF#000000##000000
##7EA8FB1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AFFE
Deuteranopia (green-blind)
#7AA3F9
Tritanopia (blue-blind)
#45BAC6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7ea8fb;
/* rgb */ color: rgb(126, 168, 251);
/* oklch */ color: oklch(73.6% 0.129 263.1);
Tailwind
colors: {
  custom: {
    50: '#aac1fd',
    500: '#7ea8fb',
    950: '#000000',
  },
}
SCSS
$custom: #7ea8fb;
$custom-light: #aac1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea8fb",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 251
  },
  "hsl": {
    "h": 219.84,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73568,
    "c": 0.12946,
    "h": 263.1
  },
  "luminance": 0.39406
}

Semantic roles & 50–950 ramp

primary
#7EA8FB
secondary
#F6EBD5
accent
#9800E6
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA8FB

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

Preview Lab → · Contrast checker → · Palette generator →

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