#7EA7F1#7EA7F1

#7EA7F1 is a light, moderate blue. Relative luminance 0.384; OKLCH L 72.9% C 0.117 H 261.7°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7EA7F1
RGBrgb(126, 167, 241)
HSLhsl(219, 80%, 72%)
HSVhsv(219, 48%, 95%)
CMYKcmyk(47.7%, 30.7%, 0%, 5.5%)
CIE-LABlab(68.33, 5.80, -41.32)
CIE-LCHlch(68.33, 41.73, 277.99°)
OKLaboklab(72.87% -0.0169 -0.116)
OKLCHoklch(72.87% 0.117 261.7)
XYZxyz(38.2948, 38.4214, 88.6002)
Luminance0.3842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA7F1 #F1C87E
analogous
#7EE0F1 #7EA7F1 #8F7EF1
triadic
#7EA7F1 #F17EA7 #A7F17E
tetradic
#7EA7F1 #F17EE0 #F1C87E #7EF18F
square
#7EA7F1 #F17EE0 #F1C87E #7EF18F
split-complementary
#7EA7F1 #F18F7E #E0F17E
monochromatic
#185EDD #4781EB #7EA7F1 #B5CDF7 #E3ECFC

Accessibility & contrast

On white

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

On black

8.68
#7EA7F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA7F1
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA7F1#FFFFFF#000000##000000
##7EA7F11.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF4
Deuteranopia (green-blind)
#7EA2EF
Tritanopia (blue-blind)
#4DB7C1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7ea7f1;
/* rgb */ color: rgb(126, 167, 241);
/* oklch */ color: oklch(72.9% 0.117 261.7);
Tailwind
colors: {
  custom: {
    50: '#a9c0f6',
    500: '#7ea7f1',
    950: '#000000',
  },
}
SCSS
$custom: #7ea7f1;
$custom-light: #a9c0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea7f1",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 241
  },
  "hsl": {
    "h": 218.609,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72867,
    "c": 0.11722,
    "h": 261.7
  },
  "luminance": 0.38424
}

Semantic roles & 50–950 ramp

primary
#7EA7F1
secondary
#F4EAD7
accent
#9109DD
background
#FAFBFF
surface
#F4F7FE
border
#CED0D6
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA7F1

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

Preview Lab → · Contrast checker → · Palette generator →

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