#7EA5FB#7EA5FB

#7EA5FB is a light, vivid blue. Relative luminance 0.383; OKLCH L 73.0% C 0.133 H 264.8°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7EA5FB
RGBrgb(126, 165, 251)
HSLhsl(221, 94%, 74%)
HSVhsv(221, 50%, 98%)
CMYKcmyk(49.8%, 34.3%, 0%, 1.6%)
CIE-LABlab(68.25, 9.89, -46.90)
CIE-LCHlch(68.25, 47.93, 281.90°)
OKLaboklab(72.95% -0.0121 -0.1322)
OKLCHoklch(72.95% 0.133 264.8)
XYZxyz(39.4662, 38.3082, 96.5626)
Luminance0.3831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA5FB #FBD47E
analogous
#7EE4FB #7EA5FB #967EFB
triadic
#7EA5FB #FB7EA5 #A5FB7E
tetradic
#7EA5FB #FB7EE4 #FBD47E #7EFB96
square
#7EA5FB #FB7EE4 #FBD47E #7EFB96
split-complementary
#7EA5FB #FB967E #E4FB7E
monochromatic
#0852F7 #437CF9 #7EA5FB #B9CEFD #E1EAFE

Accessibility & contrast

On white

2.42
#7EA5FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#7EA5FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA5FB
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA5FB#FFFFFF#000000##000000
##7EA5FB1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ADFF
Deuteranopia (green-blind)
#76A1F9
Tritanopia (blue-blind)
#46B7C4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7ea5fb;
/* rgb */ color: rgb(126, 165, 251);
/* oklch */ color: oklch(73.0% 0.133 264.8);
Tailwind
colors: {
  custom: {
    50: '#aabffd',
    500: '#7ea5fb',
    950: '#000000',
  },
}
SCSS
$custom: #7ea5fb;
$custom-light: #aabffd;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea5fb",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 251
  },
  "hsl": {
    "h": 221.28,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7295,
    "c": 0.13274,
    "h": 264.8
  },
  "luminance": 0.38311
}

Semantic roles & 50–950 ramp

primary
#7EA5FB
secondary
#F6ECD5
accent
#9E00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA5FB

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

Preview Lab → · Contrast checker → · Palette generator →

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