#7D97EB#7D97EB

#7D97EB is a light, vivid blue. Relative luminance 0.325; OKLCH L 69.2% C 0.127 H 269.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7D97EB
RGBrgb(125, 151, 235)
HSLhsl(226, 73%, 71%)
HSVhsv(226, 47%, 92%)
CMYKcmyk(46.8%, 35.7%, 0%, 7.8%)
CIE-LABlab(63.75, 12.99, -45.23)
CIE-LCHlch(63.75, 47.06, 286.02°)
OKLaboklab(69.21% -0.0004 -0.1274)
OKLCHoklch(69.21% 0.127 269.8)
XYZxyz(34.5147, 32.4893, 83.0335)
Luminance0.3249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D97EB #EBD17D
analogous
#7DCEEB #7D97EB #9A7DEB
triadic
#7D97EB #EB7D97 #97EB7D
tetradic
#7D97EB #EB7DCE #EBD17D #7DEB9A
square
#7D97EB #EB7DCE #EBD17D #7DEB9A
split-complementary
#7D97EB #EB9A7D #CEEB7D
monochromatic
#2049CE #486DE3 #7D97EB #B2C1F3 #E4EAFB

Accessibility & contrast

On white

2.80
#7D97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#7D97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D97EB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D97EB#FFFFFF#000000##000000
##7D97EB1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0EE
Deuteranopia (green-blind)
#6D96E9
Tritanopia (blue-blind)
#52A9B6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7d97eb;
/* rgb */ color: rgb(125, 151, 235);
/* oklch */ color: oklch(69.2% 0.127 269.8);
Tailwind
colors: {
  custom: {
    50: '#a8b5f2',
    500: '#7d97eb',
    950: '#000000',
  },
}
SCSS
$custom: #7d97eb;
$custom-light: #a8b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d97eb",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 225.818,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69205,
    "c": 0.12743,
    "h": 269.8
  },
  "luminance": 0.32491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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