#7EA1FF#7EA1FF

#7EA1FF is a light, vivid blue. Relative luminance 0.371; OKLCH L 72.3% C 0.143 H 267.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7EA1FF
RGBrgb(126, 161, 255)
HSLhsl(224, 100%, 75%)
HSVhsv(224, 51%, 100%)
CMYKcmyk(50.6%, 36.9%, 0%, 0%)
CIE-LABlab(67.38, 13.38, -50.43)
CIE-LCHlch(67.38, 52.18, 284.85°)
OKLaboklab(72.34% -0.0066 -0.1425)
OKLCHoklch(72.34% 0.143 267.3)
XYZxyz(39.3931, 37.1427, 99.6818)
Luminance0.3715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA1FF #FFDC7E
analogous
#7EE1FF #7EA1FF #9C7EFF
triadic
#7EA1FF #FF7EA1 #A1FF7E
tetradic
#7EA1FF #FF7EE1 #FFDC7E #7EFF9C
square
#7EA1FF #FF7EE1 #FFDC7E #7EFF9C
split-complementary
#7EA1FF #FF9C7E #E1FF7E
monochromatic
#0448FF #4174FF #7EA1FF #BBCEFF #E0E9FF

Accessibility & contrast

On white

2.49
#7EA1FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#7EA1FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA1FF
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA1FF#FFFFFF#000000##000000
##7EA1FF1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#6E9FFD
Tritanopia (blue-blind)
#43B5C4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7ea1ff;
/* rgb */ color: rgb(126, 161, 255);
/* oklch */ color: oklch(72.3% 0.143 267.3);
Tailwind
colors: {
  custom: {
    50: '#aabcff',
    500: '#7ea1ff',
    950: '#000000',
  },
}
SCSS
$custom: #7ea1ff;
$custom-light: #aabcff;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea1ff",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 255
  },
  "hsl": {
    "h": 223.721,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72344,
    "c": 0.14266,
    "h": 267.3
  },
  "luminance": 0.37145
}

Semantic roles & 50–950 ramp

primary
#7EA1FF
secondary
#F7EED4
accent
#A700E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111218
muted
#808186

Preview Lab

Preview with #7EA1FF

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

Preview Lab → · Contrast checker → · Palette generator →

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