#7E9DFD#7E9DFD

#7E9DFD is a light, vivid blue. Relative luminance 0.356; OKLCH L 71.4% C 0.145 H 269.0°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7E9DFD
RGBrgb(126, 157, 253)
HSLhsl(225, 97%, 74%)
HSVhsv(225, 50%, 99%)
CMYKcmyk(50.2%, 37.9%, 0%, 0.8%)
CIE-LABlab(66.24, 15.09, -51.15)
CIE-LCHlch(66.24, 53.33, 286.43°)
OKLaboklab(71.43% -0.0025 -0.1446)
OKLCHoklch(71.43% 0.145 269)
XYZxyz(38.3850, 35.6389, 97.7658)
Luminance0.3564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9DFD #FDDE7E
analogous
#7EDDFD #7E9DFD #9F7EFD
triadic
#7E9DFD #FD7E9D #9DFD7E
tetradic
#7E9DFD #FD7EDD #FDDE7E #7EFD9F
square
#7E9DFD #FD7EDD #FDDE7E #7EFD9F
split-complementary
#7E9DFD #FD9F7E #DDFD7E
monochromatic
#0541FB #426FFC #7E9DFD #BACBFE #E1E8FF

Accessibility & contrast

On white

2.58
#7E9DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#7E9DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E9DFD
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9DFD#FFFFFF#000000##000000
##7E9DFD1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#46B2C1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7e9dfd;
/* rgb */ color: rgb(126, 157, 253);
/* oklch */ color: oklch(71.4% 0.145 269.0);
Tailwind
colors: {
  custom: {
    50: '#aab9fe',
    500: '#7e9dfd',
    950: '#000000',
  },
}
SCSS
$custom: #7e9dfd;
$custom-light: #aab9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9dfd",
  "rgb": {
    "r": 126,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 225.354,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71431,
    "c": 0.14464,
    "h": 269
  },
  "luminance": 0.35641
}

Semantic roles & 50–950 ramp

primary
#7E9DFD
secondary
#F7EED4
accent
#AD00E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111118
muted
#808086

Preview Lab

Preview with #7E9DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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