#7D99EC#7D99EC

#7D99EC is a light, vivid blue. Relative luminance 0.332; OKLCH L 69.7% C 0.126 H 268.8°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7D99EC
RGBrgb(125, 153, 236)
HSLhsl(225, 74%, 71%)
HSVhsv(225, 47%, 93%)
CMYKcmyk(47%, 35.2%, 0%, 7.5%)
CIE-LABlab(64.32, 12.12, -44.88)
CIE-LCHlch(64.32, 46.49, 285.12°)
OKLaboklab(69.66% -0.0026 -0.1264)
OKLCHoklch(69.66% 0.126 268.8)
XYZxyz(34.9842, 33.1964, 83.9047)
Luminance0.3320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D99EC #ECD07D
analogous
#7DD0EC #7D99EC #987DEC
triadic
#7D99EC #EC7D99 #99EC7D
tetradic
#7D99EC #EC7DD0 #ECD07D #7DEC98
square
#7D99EC #EC7DD0 #ECD07D #7DEC98
split-complementary
#7D99EC #EC987D #D0EC7D
monochromatic
#1E4BD0 #486FE4 #7D99EC #B2C3F4 #E4EAFB

Accessibility & contrast

On white

2.75
#7D99EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#7D99EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D99EC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D99EC#FFFFFF#000000##000000
##7D99EC1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1EF
Deuteranopia (green-blind)
#6F97EA
Tritanopia (blue-blind)
#51AAB7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7d99ec;
/* rgb */ color: rgb(125, 153, 236);
/* oklch */ color: oklch(69.7% 0.126 268.8);
Tailwind
colors: {
  custom: {
    50: '#a8b6f2',
    500: '#7d99ec',
    950: '#000000',
  },
}
SCSS
$custom: #7d99ec;
$custom-light: #a8b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d99ec",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 224.865,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69664,
    "c": 0.12642,
    "h": 268.8
  },
  "luminance": 0.33199
}

Semantic roles & 50–950 ramp

primary
#7D99EC
secondary
#F1EAD3
accent
#A40FD7
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7D99EC

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

Preview Lab → · Contrast checker → · Palette generator →

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