#7EA3EC#7EA3EC

#7EA3EC is a light, moderate blue. Relative luminance 0.367; OKLCH L 71.8% C 0.115 H 263.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7EA3EC
RGBrgb(126, 163, 236)
HSLhsl(220, 74%, 71%)
HSVhsv(220, 47%, 93%)
CMYKcmyk(46.6%, 30.9%, 0%, 7.5%)
CIE-LABlab(67.04, 6.62, -40.61)
CIE-LCHlch(67.04, 41.14, 279.26°)
OKLaboklab(71.79% -0.0135 -0.1139)
OKLCHoklch(71.79% 0.115 263.2)
XYZxyz(36.8368, 36.6838, 84.4802)
Luminance0.3669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA3EC #ECC77E
analogous
#7EDAEC #7EA3EC #907EEC
triadic
#7EA3EC #EC7EA3 #A3EC7E
tetradic
#7EA3EC #EC7EDA #ECC77E #7EEC90
square
#7EA3EC #EC7EDA #ECC77E #7EEC90
split-complementary
#7EA3EC #EC907E #DAEC7E
monochromatic
#1F5BD1 #497DE4 #7EA3EC #B3C9F4 #E4ECFB

Accessibility & contrast

On white

2.52
#7EA3EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#7EA3EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA3EC
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA3EC#FFFFFF#000000##000000
##7EA3EC1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9EF
Deuteranopia (green-blind)
#7C9FEA
Tritanopia (blue-blind)
#52B3BD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7ea3ec;
/* rgb */ color: rgb(126, 163, 236);
/* oklch */ color: oklch(71.8% 0.115 263.2);
Tailwind
colors: {
  custom: {
    50: '#a8bef2',
    500: '#7ea3ec',
    950: '#000000',
  },
}
SCSS
$custom: #7ea3ec;
$custom-light: #a8bef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea3ec",
  "rgb": {
    "r": 126,
    "g": 163,
    "b": 236
  },
  "hsl": {
    "h": 219.818,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7179,
    "c": 0.11474,
    "h": 263.2
  },
  "luminance": 0.36686
}

Semantic roles & 50–950 ramp

primary
#7EA3EC
secondary
#F2E8D4
accent
#930FD6
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA3EC

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

Preview Lab → · Contrast checker → · Palette generator →

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