#7EA2F2#7EA2F2

#7EA2F2 is a light, vivid blue. Relative luminance 0.367; OKLCH L 71.9% C 0.124 H 265.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7EA2F2
RGBrgb(126, 162, 242)
HSLhsl(221, 82%, 72%)
HSVhsv(221, 48%, 95%)
CMYKcmyk(47.9%, 33.1%, 0%, 5.1%)
CIE-LABlab(67.04, 8.94, -43.89)
CIE-LCHlch(67.04, 44.79, 281.51°)
OKLaboklab(71.88% -0.0108 -0.1235)
OKLCHoklch(71.88% 0.124 265)
XYZxyz(37.5463, 36.6847, 89.0896)
Luminance0.3669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA2F2 #F2CE7E
analogous
#7EDCF2 #7EA2F2 #947EF2
triadic
#7EA2F2 #F27EA2 #A2F27E
tetradic
#7EA2F2 #F27EDC #F2CE7E #7EF294
square
#7EA2F2 #F27EDC #F2CE7E #7EF294
split-complementary
#7EA2F2 #F2947E #DCF27E
monochromatic
#1655DF #467AEC #7EA2F2 #B6CAF8 #E3EBFC

Accessibility & contrast

On white

2.52
#7EA2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#7EA2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA2F2
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA2F2#FFFFFF#000000##000000
##7EA2F21.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F5
Deuteranopia (green-blind)
#779EF0
Tritanopia (blue-blind)
#4EB3BF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7ea2f2;
/* rgb */ color: rgb(126, 162, 242);
/* oklch */ color: oklch(71.9% 0.124 265.0);
Tailwind
colors: {
  custom: {
    50: '#a9bdf6',
    500: '#7ea2f2',
    950: '#000000',
  },
}
SCSS
$custom: #7ea2f2;
$custom-light: #a9bdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea2f2",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 242
  },
  "hsl": {
    "h": 221.379,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71878,
    "c": 0.12393,
    "h": 265
  },
  "luminance": 0.36687
}

Semantic roles & 50–950 ramp

primary
#7EA2F2
secondary
#F4EBD7
accent
#9B07DE
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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