#7EA2F0#7EA2F0

#7EA2F0 is a light, vivid blue. Relative luminance 0.366; OKLCH L 71.8% C 0.121 H 264.7°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7EA2F0
RGBrgb(126, 162, 240)
HSLhsl(221, 79%, 72%)
HSVhsv(221, 48%, 94%)
CMYKcmyk(47.5%, 32.5%, 0%, 5.9%)
CIE-LABlab(66.95, 8.35, -42.94)
CIE-LCHlch(66.95, 43.74, 281.01°)
OKLaboklab(71.78% -0.0113 -0.1207)
OKLCHoklch(71.78% 0.121 264.7)
XYZxyz(37.2476, 36.5652, 87.5162)
Luminance0.3657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA2F0 #F0CC7E
analogous
#7EDBF0 #7EA2F0 #937EF0
triadic
#7EA2F0 #F07EA2 #A2F07E
tetradic
#7EA2F0 #F07EDB #F0CC7E #7EF093
square
#7EA2F0 #F07EDB #F0CC7E #7EF093
split-complementary
#7EA2F0 #F0937E #DBF07E
monochromatic
#1956DA #477AEA #7EA2F0 #B5CAF6 #E4EBFC

Accessibility & contrast

On white

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

On black

8.31
#7EA2F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA2F0
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA2F0#FFFFFF#000000##000000
##7EA2F01.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A9F3
Deuteranopia (green-blind)
#789EEE
Tritanopia (blue-blind)
#4FB3BE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7ea2f0;
/* rgb */ color: rgb(126, 162, 240);
/* oklch */ color: oklch(71.8% 0.121 264.7);
Tailwind
colors: {
  custom: {
    50: '#a9bdf5',
    500: '#7ea2f0',
    950: '#000000',
  },
}
SCSS
$custom: #7ea2f0;
$custom-light: #a9bdf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea2f0",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 240
  },
  "hsl": {
    "h": 221.053,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71778,
    "c": 0.12122,
    "h": 264.7
  },
  "luminance": 0.36568
}

Semantic roles & 50–950 ramp

primary
#7EA2F0
secondary
#F3EAD6
accent
#990ADB
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA2F0

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

Preview Lab → · Contrast checker → · Palette generator →

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