#7EA5FC#7EA5FC

#7EA5FC is a light, vivid blue. Relative luminance 0.384; OKLCH L 73.0% C 0.134 H 264.9°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7EA5FC
RGBrgb(126, 165, 252)
HSLhsl(221, 95%, 74%)
HSVhsv(221, 50%, 99%)
CMYKcmyk(50%, 34.5%, 0%, 1.2%)
CIE-LABlab(68.29, 10.18, -47.37)
CIE-LCHlch(68.29, 48.45, 282.13°)
OKLaboklab(73% -0.0118 -0.1335)
OKLCHoklch(73% 0.134 264.9)
XYZxyz(39.6242, 38.3715, 97.3950)
Luminance0.3837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA5FC #FCD57E
analogous
#7EE4FC #7EA5FC #967EFC
triadic
#7EA5FC #FC7EA5 #A5FC7E
tetradic
#7EA5FC #FC7EE4 #FCD57E #7EFC96
square
#7EA5FC #FC7EE4 #FCD57E #7EFC96
split-complementary
#7EA5FC #FC967E #E4FC7E
monochromatic
#0652F9 #427BFB #7EA5FC #BACFFD #E1EAFE

Accessibility & contrast

On white

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

On black

8.67
#7EA5FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA5FC
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA5FC#FFFFFF#000000##000000
##7EA5FC1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#75A1FA
Tritanopia (blue-blind)
#45B8C5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7ea5fc;
/* rgb */ color: rgb(126, 165, 252);
/* oklch */ color: oklch(73.0% 0.134 264.9);
Tailwind
colors: {
  custom: {
    50: '#aabffe',
    500: '#7ea5fc',
    950: '#000000',
  },
}
SCSS
$custom: #7ea5fc;
$custom-light: #aabffe;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea5fc",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 252
  },
  "hsl": {
    "h": 221.429,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73001,
    "c": 0.13407,
    "h": 264.9
  },
  "luminance": 0.38374
}

Semantic roles & 50–950 ramp

primary
#7EA5FC
secondary
#F7ECD4
accent
#9E00E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101218
muted
#7F8186

Preview Lab

Preview with #7EA5FC

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

Preview Lab → · Contrast checker → · Palette generator →

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