#7EA8FC#7EA8FC

#7EA8FC is a light, vivid blue. Relative luminance 0.395; OKLCH L 73.6% C 0.131 H 263.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#7EA8FC
RGBrgb(126, 168, 252)
HSLhsl(220, 95%, 74%)
HSVhsv(220, 50%, 99%)
CMYKcmyk(50%, 33.3%, 0%, 1.2%)
CIE-LABlab(69.09, 8.47, -46.12)
CIE-LCHlch(69.09, 46.89, 280.41°)
OKLaboklab(73.62% -0.0152 -0.1299)
OKLCHoklch(73.62% 0.131 263.3)
XYZxyz(40.1717, 39.4664, 97.5775)
Luminance0.3947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA8FC #FCD27E
analogous
#7EE7FC #7EA8FC #937EFC
triadic
#7EA8FC #FC7EA8 #A8FC7E
tetradic
#7EA8FC #FC7EE7 #FCD27E #7EFC93
square
#7EA8FC #FC7EE7 #FCD27E #7EFC93
split-complementary
#7EA8FC #FC937E #E7FC7E
monochromatic
#0657F9 #4280FB #7EA8FC #BAD0FD #E1EBFE

Accessibility & contrast

On white

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

On black

8.89
#7EA8FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA8FC
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA8FC#FFFFFF#000000##000000
##7EA8FC1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AFFF
Deuteranopia (green-blind)
#79A3FA
Tritanopia (blue-blind)
#44BAC6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7ea8fc;
/* rgb */ color: rgb(126, 168, 252);
/* oklch */ color: oklch(73.6% 0.131 263.3);
Tailwind
colors: {
  custom: {
    50: '#aac1fd',
    500: '#7ea8fc',
    950: '#000000',
  },
}
SCSS
$custom: #7ea8fc;
$custom-light: #aac1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea8fc",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 252
  },
  "hsl": {
    "h": 220,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73618,
    "c": 0.13079,
    "h": 263.3
  },
  "luminance": 0.39469
}

Semantic roles & 50–950 ramp

primary
#7EA8FC
secondary
#F7EBD4
accent
#9900E6
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#101218
muted
#7F8186

Preview Lab

Preview with #7EA8FC

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

Preview Lab → · Contrast checker → · Palette generator →

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