#7EA8EF#7EA8EF

#7EA8EF is a light, moderate blue. Relative luminance 0.387; OKLCH L 73.0% C 0.114 H 260.6°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7EA8EF
RGBrgb(126, 168, 239)
HSLhsl(218, 78%, 72%)
HSVhsv(218, 47%, 94%)
CMYKcmyk(47.3%, 29.7%, 0%, 6.3%)
CIE-LABlab(68.51, 4.65, -39.95)
CIE-LCHlch(68.51, 40.22, 276.64°)
OKLaboklab(72.98% -0.0186 -0.112)
OKLCHoklch(72.98% 0.114 260.6)
XYZxyz(38.1817, 38.6704, 87.0968)
Luminance0.3867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA8EF #EFC57E
analogous
#7EE1EF #7EA8EF #8D7EEF
triadic
#7EA8EF #EF7EA8 #A8EF7E
tetradic
#7EA8EF #EF7EE1 #EFC57E #7EEF8D
square
#7EA8EF #EF7EE1 #EFC57E #7EEF8D
split-complementary
#7EA8EF #EF8D7E #E1EF7E
monochromatic
#1B61D8 #4883E8 #7EA8EF #B4CDF6 #E4EDFC

Accessibility & contrast

On white

2.40
#7EA8EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#7EA8EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA8EF
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA8EF#FFFFFF#000000##000000
##7EA8EF1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DADF2
Deuteranopia (green-blind)
#80A2ED
Tritanopia (blue-blind)
#4FB7C1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7ea8ef;
/* rgb */ color: rgb(126, 168, 239);
/* oklch */ color: oklch(73.0% 0.114 260.6);
Tailwind
colors: {
  custom: {
    50: '#a9c1f4',
    500: '#7ea8ef',
    950: '#000000',
  },
}
SCSS
$custom: #7ea8ef;
$custom-light: #a9c1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea8ef",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 239
  },
  "hsl": {
    "h": 217.699,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.7298,
    "c": 0.11355,
    "h": 260.6
  },
  "luminance": 0.38673
}

Semantic roles & 50–950 ramp

primary
#7EA8EF
secondary
#F3E8D6
accent
#8D0BDA
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA8EF

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

Preview Lab → · Contrast checker → · Palette generator →

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