#7EA1F4#7EA1F4

#7EA1F4 is a light, vivid blue. Relative luminance 0.365; OKLCH L 71.8% C 0.128 H 265.9°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7EA1F4
RGBrgb(126, 161, 244)
HSLhsl(222, 84%, 73%)
HSVhsv(222, 48%, 96%)
CMYKcmyk(48.4%, 34%, 0%, 4.3%)
CIE-LABlab(66.87, 10.10, -45.26)
CIE-LCHlch(66.87, 46.37, 282.58°)
OKLaboklab(71.77% -0.0091 -0.1274)
OKLCHoklch(71.77% 0.128 265.9)
XYZxyz(37.6729, 36.4546, 90.6217)
Luminance0.3646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA1F4 #F4D17E
analogous
#7EDCF4 #7EA1F4 #967EF4
triadic
#7EA1F4 #F47EA1 #A1F47E
tetradic
#7EA1F4 #F47EDC #F4D17E #7EF496
square
#7EA1F4 #F47EDC #F4D17E #7EF496
split-complementary
#7EA1F4 #F4967E #DCF47E
monochromatic
#1351E4 #4678EF #7EA1F4 #B6CAF9 #E3EAFD

Accessibility & contrast

On white

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

On black

8.29
#7EA1F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA1F4
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA1F4#FFFFFF#000000##000000
##7EA1F41.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F7
Deuteranopia (green-blind)
#759EF2
Tritanopia (blue-blind)
#4CB3BF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7ea1f4;
/* rgb */ color: rgb(126, 161, 244);
/* oklch */ color: oklch(71.8% 0.128 265.9);
Tailwind
colors: {
  custom: {
    50: '#a9bcf8',
    500: '#7ea1f4',
    950: '#000000',
  },
}
SCSS
$custom: #7ea1f4;
$custom-light: #a9bcf8;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea1f4",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 244
  },
  "hsl": {
    "h": 222.203,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71773,
    "c": 0.12776,
    "h": 265.9
  },
  "luminance": 0.36457
}

Semantic roles & 50–950 ramp

primary
#7EA1F4
secondary
#F5ECD6
accent
#9F05E1
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA1F4

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

Preview Lab → · Contrast checker → · Palette generator →

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