#7EA1EF#7EA1EF

#7EA1EF is a light, vivid blue. Relative luminance 0.362; OKLCH L 71.5% C 0.121 H 265.1°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7EA1EF
RGBrgb(126, 161, 239)
HSLhsl(221, 78%, 72%)
HSVhsv(221, 47%, 94%)
CMYKcmyk(47.3%, 32.6%, 0%, 6.3%)
CIE-LABlab(66.64, 8.63, -42.88)
CIE-LCHlch(66.64, 43.74, 281.38°)
OKLaboklab(71.52% -0.0104 -0.1205)
OKLCHoklch(71.52% 0.121 265.1)
XYZxyz(36.9240, 36.1550, 86.6776)
Luminance0.3616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA1EF #EFCC7E
analogous
#7EDAEF #7EA1EF #947EEF
triadic
#7EA1EF #EF7EA1 #A1EF7E
tetradic
#7EA1EF #EF7EDA #EFCC7E #7EEF94
square
#7EA1EF #EF7EDA #EFCC7E #7EEF94
split-complementary
#7EA1EF #EF947E #DAEF7E
monochromatic
#1B55D8 #4879E8 #7EA1EF #B4C9F6 #E4EBFC

Accessibility & contrast

On white

2.55
#7EA1EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#7EA1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA1EF
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA1EF#FFFFFF#000000##000000
##7EA1EF1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F2
Deuteranopia (green-blind)
#789DED
Tritanopia (blue-blind)
#50B2BD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7ea1ef;
/* rgb */ color: rgb(126, 161, 239);
/* oklch */ color: oklch(71.5% 0.121 265.1);
Tailwind
colors: {
  custom: {
    50: '#a9bcf4',
    500: '#7ea1ef',
    950: '#000000',
  },
}
SCSS
$custom: #7ea1ef;
$custom-light: #a9bcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea1ef",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 239
  },
  "hsl": {
    "h": 221.416,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71522,
    "c": 0.12097,
    "h": 265.1
  },
  "luminance": 0.36157
}

Semantic roles & 50–950 ramp

primary
#7EA1EF
secondary
#F3EAD6
accent
#9A0BDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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