#7EA8DB#7EA8DB

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

Color values

HEX#7EA8DB
RGBrgb(126, 168, 219)
HSLhsl(213, 56%, 68%)
HSVhsv(213, 42%, 86%)
CMYKcmyk(42.5%, 23.3%, 0%, 14.1%)
CIE-LABlab(67.69, -1.03, -30.26)
CIE-LCHlch(67.69, 30.28, 268.05°)
OKLaboklab(72.07% -0.0246 -0.0842)
OKLCHoklch(72.07% 0.088 253.7)
XYZxyz(35.3888, 37.5532, 72.3878)
Luminance0.3755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA8DB #DBB17E
analogous
#7ED7DB #7EA8DB #827EDB
triadic
#7EA8DB #DB7EA8 #A8DB7E
tetradic
#7EA8DB #DB7ED7 #DBB17E #7EDB82
square
#7EA8DB #DB7ED7 #DBB17E #7EDB82
split-complementary
#7EA8DB #DB827E #D7DB7E
monochromatic
#3169AE #4E88CE #7EA8DB #AEC8E8 #DEE9F6

Accessibility & contrast

On white

2.47
#7EA8DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#7EA8DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA8DB
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA8DB#FFFFFF#000000##000000
##7EA8DB1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95AADD
Deuteranopia (green-blind)
#8AA1DA
Tritanopia (blue-blind)
#5BB3B9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7ea8db;
/* rgb */ color: rgb(126, 168, 219);
/* oklch */ color: oklch(72.1% 0.088 253.7);
Tailwind
colors: {
  custom: {
    50: '#a7c1e6',
    500: '#7ea8db',
    950: '#000000',
  },
}
SCSS
$custom: #7ea8db;
$custom-light: #a7c1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea8db",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 219
  },
  "hsl": {
    "h": 212.903,
    "s": 56.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72066,
    "c": 0.08768,
    "h": 253.7
  },
  "luminance": 0.37555
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EA8DB

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

Preview Lab → · Contrast checker → · Palette generator →

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