#7EA5FE#7EA5FE

#7EA5FE is a light, vivid blue. Relative luminance 0.385; OKLCH L 73.1% C 0.137 H 265.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7EA5FE
RGBrgb(126, 165, 254)
HSLhsl(222, 98%, 75%)
HSVhsv(222, 50%, 100%)
CMYKcmyk(50.4%, 35%, 0%, 0.4%)
CIE-LABlab(68.39, 10.78, -48.31)
CIE-LCHlch(68.39, 49.50, 282.58°)
OKLaboklab(73.1% -0.0114 -0.1363)
OKLCHoklch(73.1% 0.137 265.2)
XYZxyz(39.9428, 38.4989, 99.0730)
Luminance0.3850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA5FE #FED77E
analogous
#7EE5FE #7EA5FE #977EFE
triadic
#7EA5FE #FE7EA5 #A5FE7E
tetradic
#7EA5FE #FE7EE5 #FED77E #7EFE97
square
#7EA5FE #FE7EE5 #FED77E #7EFE97
split-complementary
#7EA5FE #FE977E #E5FE7E
monochromatic
#0550FD #417BFE #7EA5FE #BBCFFE #E1EAFF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA5FE#FFFFFF#000000##000000
##7EA5FE1.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)
#82ADFF
Deuteranopia (green-blind)
#74A1FC
Tritanopia (blue-blind)
#43B8C6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7ea5fe;
/* rgb */ color: rgb(126, 165, 254);
/* oklch */ color: oklch(73.1% 0.137 265.2);
Tailwind
colors: {
  custom: {
    50: '#aabfff',
    500: '#7ea5fe',
    950: '#000000',
  },
}
SCSS
$custom: #7ea5fe;
$custom-light: #aabfff;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea5fe",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 254
  },
  "hsl": {
    "h": 221.719,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73104,
    "c": 0.13676,
    "h": 265.2
  },
  "luminance": 0.38502
}

Semantic roles & 50–950 ramp

primary
#7EA5FE
secondary
#F7ECD4
accent
#A000E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101218
muted
#7F8186

Preview Lab

Preview with #7EA5FE

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

Preview Lab → · Contrast checker → · Palette generator →

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