#7EA7F2#7EA7F2

#7EA7F2 is a light, moderate blue. Relative luminance 0.385; OKLCH L 72.9% C 0.119 H 261.9°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7EA7F2
RGBrgb(126, 167, 242)
HSLhsl(219, 82%, 72%)
HSVhsv(219, 48%, 95%)
CMYKcmyk(47.9%, 31%, 0%, 5.1%)
CIE-LABlab(68.37, 6.09, -41.80)
CIE-LCHlch(68.37, 42.24, 278.29°)
OKLaboklab(72.92% -0.0167 -0.1174)
OKLCHoklch(72.92% 0.119 261.9)
XYZxyz(38.4446, 38.4813, 89.3890)
Luminance0.3848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA7F2 #F2C97E
analogous
#7EE1F2 #7EA7F2 #8F7EF2
triadic
#7EA7F2 #F27EA7 #A7F27E
tetradic
#7EA7F2 #F27EE1 #F2C97E #7EF28F
square
#7EA7F2 #F27EE1 #F2C97E #7EF28F
split-complementary
#7EA7F2 #F28F7E #E1F27E
monochromatic
#165DDF #4681EC #7EA7F2 #B6CDF8 #E3ECFC

Accessibility & contrast

On white

2.41
#7EA7F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#7EA7F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA7F2
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA7F2#FFFFFF#000000##000000
##7EA7F21.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BADF5
Deuteranopia (green-blind)
#7DA2F0
Tritanopia (blue-blind)
#4DB7C2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7ea7f2;
/* rgb */ color: rgb(126, 167, 242);
/* oklch */ color: oklch(72.9% 0.119 261.9);
Tailwind
colors: {
  custom: {
    50: '#a9c0f6',
    500: '#7ea7f2',
    950: '#000000',
  },
}
SCSS
$custom: #7ea7f2;
$custom-light: #a9c0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea7f2",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 242
  },
  "hsl": {
    "h": 218.793,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72916,
    "c": 0.11855,
    "h": 261.9
  },
  "luminance": 0.38484
}

Semantic roles & 50–950 ramp

primary
#7EA7F2
secondary
#F4EAD7
accent
#9207DE
background
#FAFBFF
surface
#F4F7FE
border
#CED0D6
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA7F2

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

Preview Lab → · Contrast checker → · Palette generator →

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