#7EA2F9#7EA2F9

#7EA2F9 is a light, vivid blue. Relative luminance 0.371; OKLCH L 72.2% C 0.133 H 266.1°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7EA2F9
RGBrgb(126, 162, 249)
HSLhsl(222, 91%, 74%)
HSVhsv(222, 49%, 98%)
CMYKcmyk(49.4%, 34.9%, 0%, 2.4%)
CIE-LABlab(67.36, 11.01, -47.20)
CIE-LCHlch(67.36, 48.47, 283.13°)
OKLaboklab(72.23% -0.0091 -0.1331)
OKLCHoklch(72.23% 0.133 266.1)
XYZxyz(38.6178, 37.1133, 94.7328)
Luminance0.3712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA2F9 #F9D57E
analogous
#7EDFF9 #7EA2F9 #977EF9
triadic
#7EA2F9 #F97EA2 #A2F97E
tetradic
#7EA2F9 #F97EDF #F9D57E #7EF997
square
#7EA2F9 #F97EDF #F9D57E #7EF997
split-complementary
#7EA2F9 #F9977E #DFF97E
monochromatic
#0B4FF1 #4478F6 #7EA2F9 #B8CCFC #E2EAFE

Accessibility & contrast

On white

2.49
#7EA2F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#7EA2F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA2F9
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA2F9#FFFFFF#000000##000000
##7EA2F91.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFD
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#48B5C2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7ea2f9;
/* rgb */ color: rgb(126, 162, 249);
/* oklch */ color: oklch(72.2% 0.133 266.1);
Tailwind
colors: {
  custom: {
    50: '#aabdfb',
    500: '#7ea2f9',
    950: '#000000',
  },
}
SCSS
$custom: #7ea2f9;
$custom-light: #aabdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea2f9",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 249
  },
  "hsl": {
    "h": 222.439,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72233,
    "c": 0.1334,
    "h": 266.1
  },
  "luminance": 0.37116
}

Semantic roles & 50–950 ramp

primary
#7EA2F9
secondary
#F6ECD5
accent
#A200E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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