#7EA2FC#7EA2FC

#7EA2FC is a light, vivid blue. Relative luminance 0.373; OKLCH L 72.4% C 0.137 H 266.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7EA2FC
RGBrgb(126, 162, 252)
HSLhsl(223, 95%, 74%)
HSVhsv(223, 50%, 99%)
CMYKcmyk(50%, 35.7%, 0%, 1.2%)
CIE-LABlab(67.50, 11.90, -48.62)
CIE-LCHlch(67.50, 50.05, 283.76°)
OKLaboklab(72.39% -0.0084 -0.1372)
OKLCHoklch(72.39% 0.137 266.5)
XYZxyz(39.0894, 37.3019, 97.2168)
Luminance0.3730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA2FC #FCD87E
analogous
#7EE1FC #7EA2FC #997EFC
triadic
#7EA2FC #FC7EA2 #A2FC7E
tetradic
#7EA2FC #FC7EE1 #FCD87E #7EFC99
square
#7EA2FC #FC7EE1 #FCD87E #7EFC99
split-complementary
#7EA2FC #FC997E #E1FC7E
monochromatic
#064CF9 #4277FB #7EA2FC #BACDFD #E1E9FE

Accessibility & contrast

On white

2.48
#7EA2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#7EA2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA2FC
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA2FC#FFFFFF#000000##000000
##7EA2FC1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFF
Deuteranopia (green-blind)
#719FFA
Tritanopia (blue-blind)
#45B5C3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7ea2fc;
/* rgb */ color: rgb(126, 162, 252);
/* oklch */ color: oklch(72.4% 0.137 266.5);
Tailwind
colors: {
  custom: {
    50: '#aabdfe',
    500: '#7ea2fc',
    950: '#000000',
  },
}
SCSS
$custom: #7ea2fc;
$custom-light: #aabdfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea2fc",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 222.857,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72389,
    "c": 0.13746,
    "h": 266.5
  },
  "luminance": 0.37305
}

Semantic roles & 50–950 ramp

primary
#7EA2FC
secondary
#F7EDD4
accent
#A400E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101218
muted
#7F8186

Preview Lab

Preview with #7EA2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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