#7B8BF5#7B8BF5

#7B8BF5 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.2% C 0.157 H 274.9°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7B8BF5
RGBrgb(123, 139, 245)
HSLhsl(232, 86%, 72%)
HSVhsv(232, 50%, 96%)
CMYKcmyk(49.8%, 43.3%, 0%, 3.9%)
CIE-LABlab(61.02, 22.54, -55.07)
CIE-LCHlch(61.02, 59.51, 292.26°)
OKLaboklab(67.24% 0.0134 -0.1563)
OKLCHoklch(67.24% 0.157 274.9)
XYZxyz(33.8772, 29.2667, 90.2324)
Luminance0.2927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8BF5 #F5E57B
analogous
#7BC8F5 #7B8BF5 #A87BF5
triadic
#7B8BF5 #F57B8B #8BF57B
tetradic
#7B8BF5 #F57BC8 #F5E57B #7BF5A8
square
#7B8BF5 #F57BC8 #F5E57B #7BF5A8
split-complementary
#7B8BF5 #F5A87B #C8F57B
monochromatic
#112DE4 #4259F1 #7B8BF5 #B4BDF9 #E3E6FD

Accessibility & contrast

On white

3.06
#7B8BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#7B8BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8BF5
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8BF5#FFFFFF#000000##000000
##7B8BF51.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99F9
Deuteranopia (green-blind)
#538EF3
Tritanopia (blue-blind)
#48A2B4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7b8bf5;
/* rgb */ color: rgb(123, 139, 245);
/* oklch */ color: oklch(67.2% 0.157 274.9);
Tailwind
colors: {
  custom: {
    50: '#a8acf9',
    500: '#7b8bf5',
    950: '#000000',
  },
}
SCSS
$custom: #7b8bf5;
$custom-light: #a8acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8bf5",
  "rgb": {
    "r": 123,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 232.131,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67241,
    "c": 0.15687,
    "h": 274.9
  },
  "luminance": 0.29269
}

Semantic roles & 50–950 ramp

primary
#7B8BF5
secondary
#F5F1D6
accent
#C503E2
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7B8BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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