#7EA7EF#7EA7EF

#7EA7EF is a light, moderate blue. Relative luminance 0.383; OKLCH L 72.8% C 0.115 H 261.2°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7EA7EF
RGBrgb(126, 167, 239)
HSLhsl(218, 78%, 72%)
HSVhsv(218, 47%, 94%)
CMYKcmyk(47.3%, 30.1%, 0%, 6.3%)
CIE-LABlab(68.24, 5.22, -40.37)
CIE-LCHlch(68.24, 40.70, 277.37°)
OKLaboklab(72.77% -0.0175 -0.1132)
OKLCHoklch(72.77% 0.115 261.2)
XYZxyz(37.9977, 38.3026, 87.0355)
Luminance0.3831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA7EF #EFC67E
analogous
#7EE0EF #7EA7EF #8E7EEF
triadic
#7EA7EF #EF7EA7 #A7EF7E
tetradic
#7EA7EF #EF7EE0 #EFC67E #7EEF8E
square
#7EA7EF #EF7EE0 #EFC67E #7EEF8E
split-complementary
#7EA7EF #EF8E7E #E0EF7E
monochromatic
#1B5FD8 #4882E8 #7EA7EF #B4CCF6 #E4ECFC

Accessibility & contrast

On white

2.42
#7EA7EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#7EA7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA7EF
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA7EF#FFFFFF#000000##000000
##7EA7EF1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF2
Deuteranopia (green-blind)
#7FA2ED
Tritanopia (blue-blind)
#4FB7C1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7ea7ef;
/* rgb */ color: rgb(126, 167, 239);
/* oklch */ color: oklch(72.8% 0.115 261.2);
Tailwind
colors: {
  custom: {
    50: '#a9c0f4',
    500: '#7ea7ef',
    950: '#000000',
  },
}
SCSS
$custom: #7ea7ef;
$custom-light: #a9c0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea7ef",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 218.23,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72771,
    "c": 0.11456,
    "h": 261.2
  },
  "luminance": 0.38305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EA7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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