#7EA1FC#7EA1FC

#7EA1FC is a light, vivid blue. Relative luminance 0.370; OKLCH L 72.2% C 0.139 H 267.0°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7EA1FC
RGBrgb(126, 161, 252)
HSLhsl(223, 95%, 74%)
HSVhsv(223, 50%, 99%)
CMYKcmyk(50%, 36.1%, 0%, 1.2%)
CIE-LABlab(67.24, 12.48, -49.03)
CIE-LCHlch(67.24, 50.59, 284.28°)
OKLaboklab(72.19% -0.0073 -0.1384)
OKLCHoklch(72.19% 0.139 267)
XYZxyz(38.9140, 36.9510, 97.1583)
Luminance0.3695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA1FC #FCD97E
analogous
#7EE0FC #7EA1FC #9A7EFC
triadic
#7EA1FC #FC7EA1 #A1FC7E
tetradic
#7EA1FC #FC7EE0 #FCD97E #7EFC9A
square
#7EA1FC #FC7EE0 #FCD97E #7EFC9A
split-complementary
#7EA1FC #FC9A7E #E0FC7E
monochromatic
#064AF9 #4275FB #7EA1FC #BACDFD #E1E9FE

Accessibility & contrast

On white

2.50
#7EA1FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#7EA1FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA1FC
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA1FC#FFFFFF#000000##000000
##7EA1FC1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#709EFA
Tritanopia (blue-blind)
#46B4C3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7ea1fc;
/* rgb */ color: rgb(126, 161, 252);
/* oklch */ color: oklch(72.2% 0.139 267.0);
Tailwind
colors: {
  custom: {
    50: '#aabcfe',
    500: '#7ea1fc',
    950: '#000000',
  },
}
SCSS
$custom: #7ea1fc;
$custom-light: #aabcfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea1fc",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 252
  },
  "hsl": {
    "h": 223.333,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72186,
    "c": 0.1386,
    "h": 267
  },
  "luminance": 0.36954
}

Semantic roles & 50–950 ramp

primary
#7EA1FC
secondary
#F7EDD4
accent
#A600E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101218
muted
#7F8186

Preview Lab

Preview with #7EA1FC

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

Preview Lab → · Contrast checker → · Palette generator →

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