#7B97EC#7B97EC

#7B97EC is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.1% C 0.129 H 269.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7B97EC
RGBrgb(123, 151, 236)
HSLhsl(225, 75%, 70%)
HSVhsv(225, 48%, 93%)
CMYKcmyk(47.9%, 36%, 0%, 7.5%)
CIE-LABlab(63.67, 12.81, -45.91)
CIE-LCHlch(63.67, 47.66, 285.59°)
OKLaboklab(69.13% -0.0022 -0.1294)
OKLCHoklch(69.13% 0.129 269)
XYZxyz(34.3704, 32.3982, 83.7830)
Luminance0.3240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B97EC #ECD07B
analogous
#7BCFEC #7B97EC #987BEC
triadic
#7B97EC #EC7B97 #97EC7B
tetradic
#7B97EC #EC7BCF #ECD07B #7BEC98
square
#7B97EC #EC7BCF #ECD07B #7BEC98
split-complementary
#7B97EC #EC987B #CFEC7B
monochromatic
#1E4ACF #466DE4 #7B97EC #B0C1F4 #E4EAFB

Accessibility & contrast

On white

2.81
#7B97EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#7B97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B97EC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B97EC#FFFFFF#000000##000000
##7B97EC1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0EF
Deuteranopia (green-blind)
#6B96EA
Tritanopia (blue-blind)
#4DA9B6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7b97ec;
/* rgb */ color: rgb(123, 151, 236);
/* oklch */ color: oklch(69.1% 0.129 269.0);
Tailwind
colors: {
  custom: {
    50: '#a7b5f2',
    500: '#7b97ec',
    950: '#000000',
  },
}
SCSS
$custom: #7b97ec;
$custom-light: #a7b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b97ec",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 225.133,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69131,
    "c": 0.12945,
    "h": 269
  },
  "luminance": 0.324
}

Semantic roles & 50–950 ramp

primary
#7B97EC
secondary
#F1E9D2
accent
#A50FD7
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7B97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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