#7EA1DF#7EA1DF

#7EA1DF is a light, moderate blue. Relative luminance 0.353; OKLCH L 70.8% C 0.099 H 261.5°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7EA1DF
RGBrgb(126, 161, 223)
HSLhsl(218, 60%, 68%)
HSVhsv(218, 43%, 87%)
CMYKcmyk(43.5%, 27.8%, 0%, 12.5%)
CIE-LABlab(65.94, 4.03, -35.17)
CIE-LCHlch(65.94, 35.40, 276.53°)
OKLaboklab(70.75% -0.0147 -0.0982)
OKLCHoklch(70.75% 0.099 261.5)
XYZxyz(34.6640, 35.2510, 74.7753)
Luminance0.3525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA1DF #DFBC7E
analogous
#7ED1DF #7EA1DF #8B7EDF
triadic
#7EA1DF #DF7EA1 #A1DF7E
tetradic
#7EA1DF #DF7ED1 #DFBC7E #7EDF8B
square
#7EA1DF #DF7ED1 #DFBC7E #7EDF8B
split-complementary
#7EA1DF #DF8B7E #D1DF7E
monochromatic
#2D5EB6 #4D7DD3 #7EA1DF #AFC5EB #E0E8F7

Accessibility & contrast

On white

2.61
#7EA1DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#7EA1DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA1DF
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA1DF#FFFFFF#000000##000000
##7EA1DF1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA5E2
Deuteranopia (green-blind)
#809CDE
Tritanopia (blue-blind)
#5AAEB7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7ea1df;
/* rgb */ color: rgb(126, 161, 223);
/* oklch */ color: oklch(70.8% 0.099 261.5);
Tailwind
colors: {
  custom: {
    50: '#a7bce9',
    500: '#7ea1df',
    950: '#000000',
  },
}
SCSS
$custom: #7ea1df;
$custom-light: #a7bce9;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea1df",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 223
  },
  "hsl": {
    "h": 218.351,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70752,
    "c": 0.09935,
    "h": 261.5
  },
  "luminance": 0.35253
}

Semantic roles & 50–950 ramp

primary
#7EA1DF
secondary
#EBE0CE
accent
#8A1EC8
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7EA1DF

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

Preview Lab → · Contrast checker → · Palette generator →

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