#7EA8F5#7EA8F5

#7EA8F5 is a light, vivid blue. Relative luminance 0.390; OKLCH L 73.3% C 0.121 H 261.9°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7EA8F5
RGBrgb(126, 168, 245)
HSLhsl(219, 86%, 73%)
HSVhsv(219, 49%, 96%)
CMYKcmyk(48.6%, 31.4%, 0%, 3.9%)
CIE-LABlab(68.77, 6.41, -42.81)
CIE-LCHlch(68.77, 43.28, 278.51°)
OKLaboklab(73.27% -0.017 -0.1203)
OKLCHoklch(73.27% 0.121 261.9)
XYZxyz(39.0828, 39.0308, 91.8427)
Luminance0.3903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA8F5 #F5CB7E
analogous
#7EE3F5 #7EA8F5 #907EF5
triadic
#7EA8F5 #F57EA8 #A8F57E
tetradic
#7EA8F5 #F57EE3 #F5CB7E #7EF590
square
#7EA8F5 #F57EE3 #F5CB7E #7EF590
split-complementary
#7EA8F5 #F5907E #E3F57E
monochromatic
#125DE7 #4582F1 #7EA8F5 #B7CEF9 #E3ECFD

Accessibility & contrast

On white

2.38
#7EA8F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#7EA8F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA8F5
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA8F5#FFFFFF#000000##000000
##7EA8F51.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAEF8
Deuteranopia (green-blind)
#7DA3F3
Tritanopia (blue-blind)
#4AB9C4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7ea8f5;
/* rgb */ color: rgb(126, 168, 245);
/* oklch */ color: oklch(73.3% 0.121 261.9);
Tailwind
colors: {
  custom: {
    50: '#a9c1f9',
    500: '#7ea8f5',
    950: '#000000',
  },
}
SCSS
$custom: #7ea8f5;
$custom-light: #a9c1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea8f5",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 245
  },
  "hsl": {
    "h": 218.824,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7327,
    "c": 0.12149,
    "h": 261.9
  },
  "luminance": 0.39033
}

Semantic roles & 50–950 ramp

primary
#7EA8F5
secondary
#F5EAD6
accent
#9403E2
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA8F5

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

Preview Lab → · Contrast checker → · Palette generator →

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