#7EA2EF#7EA2EF

#7EA2EF is a light, moderate blue. Relative luminance 0.365; OKLCH L 71.7% C 0.120 H 264.5°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7EA2EF
RGBrgb(126, 162, 239)
HSLhsl(221, 78%, 72%)
HSVhsv(221, 47%, 94%)
CMYKcmyk(47.3%, 32.2%, 0%, 6.3%)
CIE-LABlab(66.90, 8.06, -42.46)
CIE-LCHlch(66.90, 43.22, 280.75°)
OKLaboklab(71.73% -0.0115 -0.1193)
OKLCHoklch(71.73% 0.12 264.5)
XYZxyz(37.0994, 36.5059, 86.7360)
Luminance0.3651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA2EF #EFCB7E
analogous
#7EDBEF #7EA2EF #937EEF
triadic
#7EA2EF #EF7EA2 #A2EF7E
tetradic
#7EA2EF #EF7EDB #EFCB7E #7EEF93
square
#7EA2EF #EF7EDB #EFCB7E #7EEF93
split-complementary
#7EA2EF #EF937E #DBEF7E
monochromatic
#1B57D8 #487BE8 #7EA2EF #B4C9F6 #E4EBFC

Accessibility & contrast

On white

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

On black

8.30
#7EA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA2EF
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA2EF#FFFFFF#000000##000000
##7EA2EF1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F2
Deuteranopia (green-blind)
#799EED
Tritanopia (blue-blind)
#50B2BE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7ea2ef;
/* rgb */ color: rgb(126, 162, 239);
/* oklch */ color: oklch(71.7% 0.120 264.5);
Tailwind
colors: {
  custom: {
    50: '#a9bdf4',
    500: '#7ea2ef',
    950: '#000000',
  },
}
SCSS
$custom: #7ea2ef;
$custom-light: #a9bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea2ef",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 220.885,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71729,
    "c": 0.11987,
    "h": 264.5
  },
  "luminance": 0.36508
}

Semantic roles & 50–950 ramp

primary
#7EA2EF
secondary
#F3EAD6
accent
#980BDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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