#7B97EF#7B97EF

#7B97EF is a light, vivid blue. Relative luminance 0.326; OKLCH L 69.3% C 0.134 H 269.3°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7B97EF
RGBrgb(123, 151, 239)
HSLhsl(226, 78%, 71%)
HSVhsv(226, 49%, 94%)
CMYKcmyk(48.5%, 36.8%, 0%, 6.3%)
CIE-LABlab(63.81, 13.70, -47.33)
CIE-LCHlch(63.81, 49.28, 286.15°)
OKLaboklab(69.29% -0.0015 -0.1336)
OKLCHoklch(69.29% 0.134 269.3)
XYZxyz(34.8100, 32.5740, 86.0978)
Luminance0.3258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B97EF #EFD37B
analogous
#7BD1EF #7B97EF #997BEF
triadic
#7B97EF #EF7B97 #97EF7B
tetradic
#7B97EF #EF7BD1 #EFD37B #7BEF99
square
#7B97EF #EF7BD1 #EFD37B #7BEF99
split-complementary
#7B97EF #EF997B #D1EF7B
monochromatic
#1A47D6 #446CE8 #7B97EF #B2C2F6 #E4E9FC

Accessibility & contrast

On white

2.79
#7B97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#7B97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B97EF
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B97EF#FFFFFF#000000##000000
##7B97EF1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#6996ED
Tritanopia (blue-blind)
#4BAAB8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7b97ef;
/* rgb */ color: rgb(123, 151, 239);
/* oklch */ color: oklch(69.3% 0.134 269.3);
Tailwind
colors: {
  custom: {
    50: '#a7b5f4',
    500: '#7b97ef',
    950: '#000000',
  },
}
SCSS
$custom: #7b97ef;
$custom-light: #a7b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b97ef",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 225.517,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69289,
    "c": 0.13359,
    "h": 269.3
  },
  "luminance": 0.32576
}

Semantic roles & 50–950 ramp

primary
#7B97EF
secondary
#F2EBD3
accent
#A80BDB
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7B97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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