#7EA2DC#7EA2DC

#7EA2DC is a light, moderate blue. Relative luminance 0.354; OKLCH L 70.8% C 0.094 H 259.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7EA2DC
RGBrgb(126, 162, 220)
HSLhsl(217, 57%, 68%)
HSVhsv(217, 43%, 86%)
CMYKcmyk(42.7%, 26.4%, 0%, 13.7%)
CIE-LABlab(66.09, 2.62, -33.29)
CIE-LCHlch(66.09, 33.39, 274.49°)
OKLaboklab(70.83% -0.0168 -0.0928)
OKLCHoklch(70.83% 0.094 259.7)
XYZxyz(34.4386, 35.4416, 72.7225)
Luminance0.3544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA2DC #DCB87E
analogous
#7ED1DC #7EA2DC #897EDC
triadic
#7EA2DC #DC7EA2 #A2DC7E
tetradic
#7EA2DC #DC7ED1 #DCB87E #7EDC89
square
#7EA2DC #DC7ED1 #DCB87E #7EDC89
split-complementary
#7EA2DC #DC897E #D1DC7E
monochromatic
#3061B0 #4E7FCF #7EA2DC #AEC5E9 #DEE7F6

Accessibility & contrast

On white

2.60
#7EA2DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#7EA2DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA2DC
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA2DC#FFFFFF#000000##000000
##7EA2DC1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA6DF
Deuteranopia (green-blind)
#829DDB
Tritanopia (blue-blind)
#5CAEB6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ea2dc;
/* rgb */ color: rgb(126, 162, 220);
/* oklch */ color: oklch(70.8% 0.094 259.7);
Tailwind
colors: {
  custom: {
    50: '#a7bde7',
    500: '#7ea2dc',
    950: '#000000',
  },
}
SCSS
$custom: #7ea2dc;
$custom-light: #a7bde7;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea2dc",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 220
  },
  "hsl": {
    "h": 217.021,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70827,
    "c": 0.09434,
    "h": 259.7
  },
  "luminance": 0.35444
}

Semantic roles & 50–950 ramp

primary
#7EA2DC
secondary
#E9DECC
accent
#8621C5
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7EA2DC

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

Preview Lab → · Contrast checker → · Palette generator →

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