#7EA1FB#7EA1FB

#7EA1FB is a light, vivid blue. Relative luminance 0.369; OKLCH L 72.1% C 0.137 H 266.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7EA1FB
RGBrgb(126, 161, 251)
HSLhsl(223, 94%, 74%)
HSVhsv(223, 50%, 98%)
CMYKcmyk(49.8%, 35.9%, 0%, 1.6%)
CIE-LABlab(67.19, 12.18, -48.56)
CIE-LCHlch(67.19, 50.06, 284.08°)
OKLaboklab(72.13% -0.0075 -0.137)
OKLCHoklch(72.13% 0.137 266.9)
XYZxyz(38.7559, 36.8878, 96.3259)
Luminance0.3689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA1FB #FBD87E
analogous
#7EE0FB #7EA1FB #9A7EFB
triadic
#7EA1FB #FB7EA1 #A1FB7E
tetradic
#7EA1FB #FB7EE0 #FBD87E #7EFB9A
square
#7EA1FB #FB7EE0 #FBD87E #7EFB9A
split-complementary
#7EA1FB #FB9A7E #E0FB7E
monochromatic
#084BF7 #4376F9 #7EA1FB #B9CCFD #E1E9FE

Accessibility & contrast

On white

2.51
#7EA1FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#7EA1FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA1FB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA1FB#FFFFFF#000000##000000
##7EA1FB1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#709EF9
Tritanopia (blue-blind)
#47B4C2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7ea1fb;
/* rgb */ color: rgb(126, 161, 251);
/* oklch */ color: oklch(72.1% 0.137 266.9);
Tailwind
colors: {
  custom: {
    50: '#aabcfd',
    500: '#7ea1fb',
    950: '#000000',
  },
}
SCSS
$custom: #7ea1fb;
$custom-light: #aabcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea1fb",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 251
  },
  "hsl": {
    "h": 223.2,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72133,
    "c": 0.13724,
    "h": 266.9
  },
  "luminance": 0.3689
}

Semantic roles & 50–950 ramp

primary
#7EA1FB
secondary
#F6EDD5
accent
#A500E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA1FB

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

Preview Lab → · Contrast checker → · Palette generator →

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