#7D9DEC#7D9DEC

#7D9DEC is a light, vivid blue. Relative luminance 0.345; OKLCH L 70.5% C 0.122 H 266.5°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7D9DEC
RGBrgb(125, 157, 236)
HSLhsl(223, 74%, 71%)
HSVhsv(223, 47%, 93%)
CMYKcmyk(47%, 33.5%, 0%, 7.5%)
CIE-LABlab(65.38, 9.81, -43.21)
CIE-LCHlch(65.38, 44.31, 282.79°)
OKLaboklab(70.49% -0.0073 -0.1215)
OKLCHoklch(70.49% 0.122 266.5)
XYZxyz(35.6498, 34.5278, 84.1266)
Luminance0.3453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9DEC #ECCC7D
analogous
#7DD4EC #7D9DEC #947DEC
triadic
#7D9DEC #EC7D9D #9DEC7D
tetradic
#7D9DEC #EC7DD4 #ECCC7D #7DEC94
square
#7D9DEC #EC7DD4 #ECCC7D #7DEC94
split-complementary
#7D9DEC #EC947D #D4EC7D
monochromatic
#1E52D0 #4875E4 #7D9DEC #B2C5F4 #E4EBFB

Accessibility & contrast

On white

2.66
#7D9DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#7D9DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D9DEC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9DEC#FFFFFF#000000##000000
##7D9DEC1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4EF
Deuteranopia (green-blind)
#749AEA
Tritanopia (blue-blind)
#51AEBA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7d9dec;
/* rgb */ color: rgb(125, 157, 236);
/* oklch */ color: oklch(70.5% 0.122 266.5);
Tailwind
colors: {
  custom: {
    50: '#a8b9f2',
    500: '#7d9dec',
    950: '#000000',
  },
}
SCSS
$custom: #7d9dec;
$custom-light: #a8b9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9dec",
  "rgb": {
    "r": 125,
    "g": 157,
    "b": 236
  },
  "hsl": {
    "h": 222.703,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70485,
    "c": 0.12175,
    "h": 266.5
  },
  "luminance": 0.3453
}

Semantic roles & 50–950 ramp

primary
#7D9DEC
secondary
#F1E9D3
accent
#9D0FD7
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7D9DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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