#7EA1FD#7EA1FD

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

Color values

HEX#7EA1FD
RGBrgb(126, 161, 253)
HSLhsl(223, 97%, 74%)
HSVhsv(223, 50%, 99%)
CMYKcmyk(50.2%, 36.4%, 0%, 0.8%)
CIE-LABlab(67.29, 12.78, -49.50)
CIE-LCHlch(67.29, 51.12, 284.47°)
OKLaboklab(72.24% -0.007 -0.1398)
OKLCHoklch(72.24% 0.14 267.1)
XYZxyz(39.0729, 37.0146, 97.9951)
Luminance0.3702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA1FD #FDDA7E
analogous
#7EE0FD #7EA1FD #9B7EFD
triadic
#7EA1FD #FD7EA1 #A1FD7E
tetradic
#7EA1FD #FD7EE0 #FDDA7E #7EFD9B
square
#7EA1FD #FD7EE0 #FDDA7E #7EFD9B
split-complementary
#7EA1FD #FD9B7E #E0FD7E
monochromatic
#0549FB #4275FC #7EA1FD #BACDFE #E1E9FF

Accessibility & contrast

On white

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

On black

8.40
#7EA1FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA1FD
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA1FD#FFFFFF#000000##000000
##7EA1FD1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#6F9FFB
Tritanopia (blue-blind)
#45B5C3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7ea1fd;
/* rgb */ color: rgb(126, 161, 253);
/* oklch */ color: oklch(72.2% 0.140 267.1);
Tailwind
colors: {
  custom: {
    50: '#aabcfe',
    500: '#7ea1fd',
    950: '#000000',
  },
}
SCSS
$custom: #7ea1fd;
$custom-light: #aabcfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea1fd",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 253
  },
  "hsl": {
    "h": 223.465,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72238,
    "c": 0.13996,
    "h": 267.1
  },
  "luminance": 0.37017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EA1FD

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

Preview Lab → · Contrast checker → · Palette generator →

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