#7D9EF2#7D9EF2

#7D9EF2 is a light, vivid blue. Relative luminance 0.352; OKLCH L 71.0% C 0.129 H 266.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7D9EF2
RGBrgb(125, 158, 242)
HSLhsl(223, 82%, 72%)
HSVhsv(223, 48%, 95%)
CMYKcmyk(48.3%, 34.7%, 0%, 5.1%)
CIE-LABlab(65.92, 11.00, -45.65)
CIE-LCHlch(65.92, 46.96, 283.55°)
OKLaboklab(70.99% -0.0071 -0.1286)
OKLCHoklch(70.99% 0.129 266.9)
XYZxyz(36.7061, 35.2221, 88.8515)
Luminance0.3522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9EF2 #F2D17D
analogous
#7DD9F2 #7D9EF2 #977DF2
triadic
#7D9EF2 #F27D9E #9EF27D
tetradic
#7D9EF2 #F27DD9 #F2D17D #7DF297
square
#7D9EF2 #F27DD9 #F2D17D #7DF297
split-complementary
#7D9EF2 #F2977D #D9F27D
monochromatic
#164FDE #4574EC #7D9EF2 #B5C8F8 #E3EAFC

Accessibility & contrast

On white

2.61
#7D9EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#7D9EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D9EF2
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9EF2#FFFFFF#000000##000000
##7D9EF21.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F5
Deuteranopia (green-blind)
#729BF0
Tritanopia (blue-blind)
#4CB0BD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7d9ef2;
/* rgb */ color: rgb(125, 158, 242);
/* oklch */ color: oklch(71.0% 0.129 266.9);
Tailwind
colors: {
  custom: {
    50: '#a8baf6',
    500: '#7d9ef2',
    950: '#000000',
  },
}
SCSS
$custom: #7d9ef2;
$custom-light: #a8baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9ef2",
  "rgb": {
    "r": 125,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 223.077,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70995,
    "c": 0.1288,
    "h": 266.9
  },
  "luminance": 0.35224
}

Semantic roles & 50–950 ramp

primary
#7D9EF2
secondary
#F4ECD7
accent
#A207DE
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #7D9EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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