#7EA1DB#7EA1DB

#7EA1DB is a light, moderate blue. Relative luminance 0.350; OKLCH L 70.6% C 0.094 H 260.3°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7EA1DB
RGBrgb(126, 161, 219)
HSLhsl(217, 56%, 68%)
HSVhsv(217, 42%, 86%)
CMYKcmyk(42.5%, 26.5%, 0%, 14.1%)
CIE-LABlab(65.78, 2.90, -33.22)
CIE-LCHlch(65.78, 33.35, 274.99°)
OKLaboklab(70.57% -0.0159 -0.0926)
OKLCHoklch(70.57% 0.094 260.3)
XYZxyz(34.1311, 35.0379, 71.9686)
Luminance0.3504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA1DB #DBB87E
analogous
#7ED0DB #7EA1DB #897EDB
triadic
#7EA1DB #DB7EA1 #A1DB7E
tetradic
#7EA1DB #DB7ED0 #DBB87E #7EDB89
square
#7EA1DB #DB7ED0 #DBB87E #7EDB89
split-complementary
#7EA1DB #DB897E #D0DB7E
monochromatic
#3160AE #4E7ECE #7EA1DB #AEC4E8 #DEE7F6

Accessibility & contrast

On white

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

On black

8.01
#7EA1DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA1DB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA1DB#FFFFFF#000000##000000
##7EA1DB1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA5DE
Deuteranopia (green-blind)
#829CDA
Tritanopia (blue-blind)
#5CADB5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7ea1db;
/* rgb */ color: rgb(126, 161, 219);
/* oklch */ color: oklch(70.6% 0.094 260.3);
Tailwind
colors: {
  custom: {
    50: '#a7bce6',
    500: '#7ea1db',
    950: '#000000',
  },
}
SCSS
$custom: #7ea1db;
$custom-light: #a7bce6;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea1db",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 219
  },
  "hsl": {
    "h": 217.419,
    "s": 56.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70568,
    "c": 0.09399,
    "h": 260.3
  },
  "luminance": 0.3504
}

Semantic roles & 50–950 ramp

primary
#7EA1DB
secondary
#E9DECC
accent
#8722C4
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7EA1DB

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

Preview Lab → · Contrast checker → · Palette generator →

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