#7B8CF5#7B8CF5

#7B8CF5 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.4% C 0.156 H 274.5°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7B8CF5
RGBrgb(123, 140, 245)
HSLhsl(232, 86%, 72%)
HSVhsv(232, 50%, 96%)
CMYKcmyk(49.8%, 42.9%, 0%, 3.9%)
CIE-LABlab(61.27, 21.95, -54.67)
CIE-LCHlch(61.27, 58.91, 291.88°)
OKLaboklab(67.44% 0.0123 -0.1551)
OKLCHoklch(67.44% 0.156 274.5)
XYZxyz(34.0227, 29.5576, 90.2809)
Luminance0.2956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8CF5 #F5E47B
analogous
#7BC9F5 #7B8CF5 #A77BF5
triadic
#7B8CF5 #F57B8C #8CF57B
tetradic
#7B8CF5 #F57BC9 #F5E47B #7BF5A7
square
#7B8CF5 #F57BC9 #F5E47B #7BF5A7
split-complementary
#7B8CF5 #F5A77B #C9F57B
monochromatic
#112FE4 #425AF1 #7B8CF5 #B4BEF9 #E3E6FD

Accessibility & contrast

On white

3.04
#7B8CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#7B8CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8CF5
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8CF5#FFFFFF#000000##000000
##7B8CF51.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F9
Deuteranopia (green-blind)
#558FF3
Tritanopia (blue-blind)
#48A2B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7b8cf5;
/* rgb */ color: rgb(123, 140, 245);
/* oklch */ color: oklch(67.4% 0.156 274.5);
Tailwind
colors: {
  custom: {
    50: '#a8adf9',
    500: '#7b8cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7b8cf5;
$custom-light: #a8adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8cf5",
  "rgb": {
    "r": 123,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 231.639,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67435,
    "c": 0.15559,
    "h": 274.5
  },
  "luminance": 0.2956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B8CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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