#7EA0F2#7EA0F2

#7EA0F2 is a light, vivid blue. Relative luminance 0.360; OKLCH L 71.5% C 0.126 H 266.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7EA0F2
RGBrgb(126, 160, 242)
HSLhsl(222, 82%, 72%)
HSVhsv(222, 48%, 95%)
CMYKcmyk(47.9%, 33.9%, 0%, 5.1%)
CIE-LABlab(66.51, 10.09, -44.72)
CIE-LCHlch(66.51, 45.85, 282.71°)
OKLaboklab(71.47% -0.0084 -0.1259)
OKLCHoklch(71.47% 0.126 266.2)
XYZxyz(37.1968, 35.9857, 88.9731)
Luminance0.3599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA0F2 #F2D07E
analogous
#7EDAF2 #7EA0F2 #967EF2
triadic
#7EA0F2 #F27EA0 #A0F27E
tetradic
#7EA0F2 #F27EDA #F2D07E #7EF296
square
#7EA0F2 #F27EDA #F2D07E #7EF296
split-complementary
#7EA0F2 #F2967E #DAF27E
monochromatic
#1651DF #4677EC #7EA0F2 #B6C9F8 #E3EBFC

Accessibility & contrast

On white

2.56
#7EA0F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#7EA0F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA0F2
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA0F2#FFFFFF#000000##000000
##7EA0F21.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A7F5
Deuteranopia (green-blind)
#759DF0
Tritanopia (blue-blind)
#4EB1BE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7ea0f2;
/* rgb */ color: rgb(126, 160, 242);
/* oklch */ color: oklch(71.5% 0.126 266.2);
Tailwind
colors: {
  custom: {
    50: '#a9bbf6',
    500: '#7ea0f2',
    950: '#000000',
  },
}
SCSS
$custom: #7ea0f2;
$custom-light: #a9bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea0f2",
  "rgb": {
    "r": 126,
    "g": 160,
    "b": 242
  },
  "hsl": {
    "h": 222.414,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71466,
    "c": 0.12617,
    "h": 266.2
  },
  "luminance": 0.35988
}

Semantic roles & 50–950 ramp

primary
#7EA0F2
secondary
#F4ECD7
accent
#9F07DE
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #7EA0F2

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

Preview Lab → · Contrast checker → · Palette generator →

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