#7EA1DC#7EA1DC

#7EA1DC is a light, moderate blue. Relative luminance 0.351; OKLCH L 70.6% C 0.095 H 260.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7EA1DC
RGBrgb(126, 161, 220)
HSLhsl(218, 57%, 68%)
HSVhsv(218, 43%, 86%)
CMYKcmyk(42.7%, 26.8%, 0%, 13.7%)
CIE-LABlab(65.82, 3.18, -33.71)
CIE-LCHlch(65.82, 33.86, 275.39°)
OKLaboklab(70.61% -0.0156 -0.094)
OKLCHoklch(70.61% 0.095 260.6)
XYZxyz(34.2632, 35.0907, 72.6640)
Luminance0.3509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA1DC #DCB97E
analogous
#7ED0DC #7EA1DC #8A7EDC
triadic
#7EA1DC #DC7EA1 #A1DC7E
tetradic
#7EA1DC #DC7ED0 #DCB97E #7EDC8A
square
#7EA1DC #DC7ED0 #DCB97E #7EDC8A
split-complementary
#7EA1DC #DC8A7E #D0DC7E
monochromatic
#305FB0 #4E7ECF #7EA1DC #AEC4E9 #DEE7F6

Accessibility & contrast

On white

2.62
#7EA1DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#7EA1DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA1DC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA1DC#FFFFFF#000000##000000
##7EA1DC1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA5DF
Deuteranopia (green-blind)
#819CDB
Tritanopia (blue-blind)
#5CAEB5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7ea1dc;
/* rgb */ color: rgb(126, 161, 220);
/* oklch */ color: oklch(70.6% 0.095 260.6);
Tailwind
colors: {
  custom: {
    50: '#a7bce7',
    500: '#7ea1dc',
    950: '#000000',
  },
}
SCSS
$custom: #7ea1dc;
$custom-light: #a7bce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea1dc",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 220
  },
  "hsl": {
    "h": 217.66,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70614,
    "c": 0.09532,
    "h": 260.6
  },
  "luminance": 0.35093
}

Semantic roles & 50–950 ramp

primary
#7EA1DC
secondary
#E9DFCC
accent
#8821C5
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7EA1DC

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

Preview Lab → · Contrast checker → · Palette generator →

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