#7EA1F6#7EA1F6

#7EA1F6 is a light, vivid blue. Relative luminance 0.366; OKLCH L 71.9% C 0.130 H 266.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7EA1F6
RGBrgb(126, 161, 246)
HSLhsl(223, 87%, 73%)
HSVhsv(223, 49%, 96%)
CMYKcmyk(48.8%, 34.6%, 0%, 3.5%)
CIE-LABlab(66.96, 10.69, -46.20)
CIE-LCHlch(66.96, 47.42, 283.03°)
OKLaboklab(71.88% -0.0086 -0.1302)
OKLCHoklch(71.88% 0.13 266.2)
XYZxyz(37.9782, 36.5767, 92.2297)
Luminance0.3658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA1F6 #F6D37E
analogous
#7EDDF6 #7EA1F6 #977EF6
triadic
#7EA1F6 #F67EA1 #A1F67E
tetradic
#7EA1F6 #F67EDD #F6D37E #7EF697
square
#7EA1F6 #F67EDD #F6D37E #7EF697
split-complementary
#7EA1F6 #F6977E #DDF67E
monochromatic
#1050E9 #4577F2 #7EA1F6 #B7CBFA #E2EAFD

Accessibility & contrast

On white

2.53
#7EA1F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#7EA1F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA1F6
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA1F6#FFFFFF#000000##000000
##7EA1F61.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A9F9
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#4BB3C0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7ea1f6;
/* rgb */ color: rgb(126, 161, 246);
/* oklch */ color: oklch(71.9% 0.130 266.2);
Tailwind
colors: {
  custom: {
    50: '#a9bcf9',
    500: '#7ea1f6',
    950: '#000000',
  },
}
SCSS
$custom: #7ea1f6;
$custom-light: #a9bcf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea1f6",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 246
  },
  "hsl": {
    "h": 222.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71875,
    "c": 0.13047,
    "h": 266.2
  },
  "luminance": 0.36579
}

Semantic roles & 50–950 ramp

primary
#7EA1F6
secondary
#F5ECD6
accent
#A202E4
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA1F6

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

Preview Lab → · Contrast checker → · Palette generator →

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