#7EA7EC#7EA7EC

#7EA7EC is a light, moderate blue. Relative luminance 0.381; OKLCH L 72.6% C 0.111 H 260.5°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7EA7EC
RGBrgb(126, 167, 236)
HSLhsl(218, 74%, 71%)
HSVhsv(218, 47%, 93%)
CMYKcmyk(46.6%, 29.2%, 0%, 7.5%)
CIE-LABlab(68.11, 4.35, -38.93)
CIE-LCHlch(68.11, 39.17, 276.37°)
OKLaboklab(72.63% -0.0183 -0.1091)
OKLCHoklch(72.63% 0.111 260.5)
XYZxyz(37.5582, 38.1268, 84.7207)
Luminance0.3813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA7EC #ECC37E
analogous
#7EDEEC #7EA7EC #8C7EEC
triadic
#7EA7EC #EC7EA7 #A7EC7E
tetradic
#7EA7EC #EC7EDE #ECC37E #7EEC8C
square
#7EA7EC #EC7EDE #ECC37E #7EEC8C
split-complementary
#7EA7EC #EC8C7E #DEEC7E
monochromatic
#1F61D1 #4983E4 #7EA7EC #B3CBF4 #E4EDFB

Accessibility & contrast

On white

2.43
#7EA7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#7EA7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA7EC
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA7EC#FFFFFF#000000##000000
##7EA7EC1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACEF
Deuteranopia (green-blind)
#81A1EB
Tritanopia (blue-blind)
#51B6BF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7ea7ec;
/* rgb */ color: rgb(126, 167, 236);
/* oklch */ color: oklch(72.6% 0.111 260.5);
Tailwind
colors: {
  custom: {
    50: '#a8c0f2',
    500: '#7ea7ec',
    950: '#000000',
  },
}
SCSS
$custom: #7ea7ec;
$custom-light: #a8c0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea7ec",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 236
  },
  "hsl": {
    "h": 217.636,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72627,
    "c": 0.11059,
    "h": 260.5
  },
  "luminance": 0.38129
}

Semantic roles & 50–950 ramp

primary
#7EA7EC
secondary
#F2E7D4
accent
#8C0FD6
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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