#7EA6F2#7EA6F2

#7EA6F2 is a light, moderate blue. Relative luminance 0.381; OKLCH L 72.7% C 0.120 H 262.6°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7EA6F2
RGBrgb(126, 166, 242)
HSLhsl(219, 82%, 72%)
HSVhsv(219, 48%, 95%)
CMYKcmyk(47.9%, 31.4%, 0%, 5.1%)
CIE-LABlab(68.11, 6.66, -42.22)
CIE-LCHlch(68.11, 42.74, 278.97°)
OKLaboklab(72.71% -0.0155 -0.1186)
OKLCHoklch(72.71% 0.12 262.6)
XYZxyz(38.2621, 38.1163, 89.3282)
Luminance0.3812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA6F2 #F2CA7E
analogous
#7EE0F2 #7EA6F2 #907EF2
triadic
#7EA6F2 #F27EA6 #A6F27E
tetradic
#7EA6F2 #F27EE0 #F2CA7E #7EF290
square
#7EA6F2 #F27EE0 #F2CA7E #7EF290
split-complementary
#7EA6F2 #F2907E #E0F27E
monochromatic
#165CDF #4680EC #7EA6F2 #B6CCF8 #E3ECFC

Accessibility & contrast

On white

2.44
#7EA6F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#7EA6F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA6F2
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA6F2#FFFFFF#000000##000000
##7EA6F21.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#7CA1F0
Tritanopia (blue-blind)
#4DB6C1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7ea6f2;
/* rgb */ color: rgb(126, 166, 242);
/* oklch */ color: oklch(72.7% 0.120 262.6);
Tailwind
colors: {
  custom: {
    50: '#a9c0f6',
    500: '#7ea6f2',
    950: '#000000',
  },
}
SCSS
$custom: #7ea6f2;
$custom-light: #a9c0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea6f2",
  "rgb": {
    "r": 126,
    "g": 166,
    "b": 242
  },
  "hsl": {
    "h": 219.31,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72707,
    "c": 0.1196,
    "h": 262.6
  },
  "luminance": 0.38119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EA6F2

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

Preview Lab → · Contrast checker → · Palette generator →

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