#7B8CFB#7B8CFB

#7B8CFB is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.8% C 0.164 H 274.6°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7B8CFB
RGBrgb(123, 140, 251)
HSLhsl(232, 94%, 73%)
HSVhsv(232, 51%, 98%)
CMYKcmyk(51%, 44.2%, 0%, 1.6%)
CIE-LABlab(61.59, 23.77, -57.45)
CIE-LCHlch(61.59, 62.17, 292.48°)
OKLaboklab(67.79% 0.0132 -0.1633)
OKLCHoklch(67.79% 0.164 274.6)
XYZxyz(34.9535, 29.9299, 95.1833)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8CFB #FBEA7B
analogous
#7BCCFB #7B8CFB #AA7BFB
triadic
#7B8CFB #FB7B8C #8CFB7B
tetradic
#7B8CFB #FB7BCC #FBEA7B #7BFBAA
square
#7B8CFB #FB7BCC #FBEA7B #7BFBAA
split-complementary
#7B8CFB #FBAA7B #CCFB7B
monochromatic
#0727F4 #4058F9 #7B8CFB #B6C0FD #E1E5FE

Accessibility & contrast

On white

3.01
#7B8CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#7B8CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8CFB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8CFB#FFFFFF#000000##000000
##7B8CFB1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFF
Deuteranopia (green-blind)
#4F90F9
Tritanopia (blue-blind)
#43A4B7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7b8cfb;
/* rgb */ color: rgb(123, 140, 251);
/* oklch */ color: oklch(67.8% 0.164 274.6);
Tailwind
colors: {
  custom: {
    50: '#a9adfd',
    500: '#7b8cfb',
    950: '#000000',
  },
}
SCSS
$custom: #7b8cfb;
$custom-light: #a9adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8cfb",
  "rgb": {
    "r": 123,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 232.031,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67786,
    "c": 0.16379,
    "h": 274.6
  },
  "luminance": 0.29932
}

Semantic roles & 50–950 ramp

primary
#7B8CFB
secondary
#F6F2D5
accent
#C700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7B8CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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