#7EA8DC#7EA8DC

#7EA8DC is a light, moderate cyan. Relative luminance 0.376; OKLCH L 72.1% C 0.089 H 254.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7EA8DC
RGBrgb(126, 168, 220)
HSLhsl(213, 57%, 68%)
HSVhsv(213, 43%, 86%)
CMYKcmyk(42.7%, 23.6%, 0%, 13.7%)
CIE-LABlab(67.73, -0.75, -30.75)
CIE-LCHlch(67.73, 30.76, 268.60°)
OKLaboklab(72.11% -0.0243 -0.0856)
OKLCHoklch(72.11% 0.089 254.2)
XYZxyz(35.5209, 37.6061, 73.0833)
Luminance0.3761 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA8DC #DCB27E
analogous
#7ED7DC #7EA8DC #837EDC
triadic
#7EA8DC #DC7EA8 #A8DC7E
tetradic
#7EA8DC #DC7ED7 #DCB27E #7EDC83
square
#7EA8DC #DC7ED7 #DCB27E #7EDC83
split-complementary
#7EA8DC #DC837E #D7DC7E
monochromatic
#3069B0 #4E88CF #7EA8DC #AEC8E9 #DEE9F6

Accessibility & contrast

On white

2.46
#7EA8DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#7EA8DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA8DC
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA8DC#FFFFFF#000000##000000
##7EA8DC1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AADE
Deuteranopia (green-blind)
#89A1DB
Tritanopia (blue-blind)
#5BB4BA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7ea8dc;
/* rgb */ color: rgb(126, 168, 220);
/* oklch */ color: oklch(72.1% 0.089 254.2);
Tailwind
colors: {
  custom: {
    50: '#a7c1e7',
    500: '#7ea8dc',
    950: '#000000',
  },
}
SCSS
$custom: #7ea8dc;
$custom-light: #a7c1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea8dc",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 220
  },
  "hsl": {
    "h": 213.191,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.7211,
    "c": 0.08894,
    "h": 254.2
  },
  "luminance": 0.37608
}

Semantic roles & 50–950 ramp

primary
#7EA8DC
secondary
#E9DCCC
accent
#7B21C5
background
#FAFBFE
surface
#F4F7FC
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7EA8DC

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

Preview Lab → · Contrast checker → · Palette generator →

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