#7EA8F2#7EA8F2

#7EA8F2 is a light, moderate blue. Relative luminance 0.389; OKLCH L 73.1% C 0.118 H 261.3°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#7EA8F2
RGBrgb(126, 168, 242)
HSLhsl(218, 82%, 72%)
HSVhsv(218, 48%, 95%)
CMYKcmyk(47.9%, 30.6%, 0%, 5.1%)
CIE-LABlab(68.64, 5.53, -41.38)
CIE-LCHlch(68.64, 41.75, 277.61°)
OKLaboklab(73.12% -0.0178 -0.1161)
OKLCHoklch(73.12% 0.118 261.3)
XYZxyz(38.6285, 38.8491, 89.4503)
Luminance0.3885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA8F2 #F2C87E
analogous
#7EE2F2 #7EA8F2 #8E7EF2
triadic
#7EA8F2 #F27EA8 #A8F27E
tetradic
#7EA8F2 #F27EE2 #F2C87E #7EF28E
square
#7EA8F2 #F27EE2 #F2C87E #7EF28E
split-complementary
#7EA8F2 #F28E7E #E2F27E
monochromatic
#165FDF #4683EC #7EA8F2 #B6CDF8 #E3ECFC

Accessibility & contrast

On white

2.39
#7EA8F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#7EA8F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA8F2
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA8F2#FFFFFF#000000##000000
##7EA8F21.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CADF5
Deuteranopia (green-blind)
#7FA3F0
Tritanopia (blue-blind)
#4CB8C2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7ea8f2;
/* rgb */ color: rgb(126, 168, 242);
/* oklch */ color: oklch(73.1% 0.118 261.3);
Tailwind
colors: {
  custom: {
    50: '#a9c1f6',
    500: '#7ea8f2',
    950: '#000000',
  },
}
SCSS
$custom: #7ea8f2;
$custom-light: #a9c1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea8f2",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 242
  },
  "hsl": {
    "h": 218.276,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73124,
    "c": 0.11751,
    "h": 261.3
  },
  "luminance": 0.38852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EA8F2

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

Preview Lab → · Contrast checker → · Palette generator →

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