#7EA2FD#7EA2FD

#7EA2FD is a light, vivid blue. Relative luminance 0.374; OKLCH L 72.4% C 0.139 H 266.6°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7EA2FD
RGBrgb(126, 162, 253)
HSLhsl(223, 97%, 74%)
HSVhsv(223, 50%, 99%)
CMYKcmyk(50.2%, 36%, 0%, 0.8%)
CIE-LABlab(67.55, 12.20, -49.08)
CIE-LCHlch(67.55, 50.58, 283.96°)
OKLaboklab(72.44% -0.0082 -0.1386)
OKLCHoklch(72.44% 0.139 266.6)
XYZxyz(39.2483, 37.3655, 98.0535)
Luminance0.3737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA2FD #FDD97E
analogous
#7EE2FD #7EA2FD #9A7EFD
triadic
#7EA2FD #FD7EA2 #A2FD7E
tetradic
#7EA2FD #FD7EE2 #FDD97E #7EFD9A
square
#7EA2FD #FD7EE2 #FDD97E #7EFD9A
split-complementary
#7EA2FD #FD9A7E #E2FD7E
monochromatic
#054BFB #4277FC #7EA2FD #BACDFE #E1E9FF

Accessibility & contrast

On white

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

On black

8.47
#7EA2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA2FD
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA2FD#FFFFFF#000000##000000
##7EA2FD1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#719FFB
Tritanopia (blue-blind)
#44B6C4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7ea2fd;
/* rgb */ color: rgb(126, 162, 253);
/* oklch */ color: oklch(72.4% 0.139 266.6);
Tailwind
colors: {
  custom: {
    50: '#aabdfe',
    500: '#7ea2fd',
    950: '#000000',
  },
}
SCSS
$custom: #7ea2fd;
$custom-light: #aabdfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea2fd",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 253
  },
  "hsl": {
    "h": 222.992,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72441,
    "c": 0.13881,
    "h": 266.6
  },
  "luminance": 0.37368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EA2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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