#7B8CF9#7B8CF9

#7B8CF9 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.7% C 0.161 H 274.6°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7B8CF9
RGBrgb(123, 140, 249)
HSLhsl(232, 91%, 73%)
HSVhsv(232, 51%, 98%)
CMYKcmyk(50.6%, 43.8%, 0%, 2.4%)
CIE-LABlab(61.49, 23.16, -56.53)
CIE-LCHlch(61.49, 61.09, 292.28°)
OKLaboklab(67.67% 0.0129 -0.1605)
OKLCHoklch(67.67% 0.161 274.6)
XYZxyz(34.6399, 29.8045, 93.5317)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8CF9 #F9E87B
analogous
#7BCBF9 #7B8CF9 #A97BF9
triadic
#7B8CF9 #F97B8C #8CF97B
tetradic
#7B8CF9 #F97BCB #F9E87B #7BF9A9
square
#7B8CF9 #F97BCB #F9E87B #7BF9A9
split-complementary
#7B8CF9 #F9A97B #CBF97B
monochromatic
#0B2AEF #4059F6 #7B8CF9 #B6BFFC #E2E5FE

Accessibility & contrast

On white

3.02
#7B8CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7B8CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8CF9
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8CF9#FFFFFF#000000##000000
##7B8CF91.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#518FF7
Tritanopia (blue-blind)
#45A3B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7b8cf9;
/* rgb */ color: rgb(123, 140, 249);
/* oklch */ color: oklch(67.7% 0.161 274.6);
Tailwind
colors: {
  custom: {
    50: '#a8adfc',
    500: '#7b8cf9',
    950: '#000000',
  },
}
SCSS
$custom: #7b8cf9;
$custom-light: #a8adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8cf9",
  "rgb": {
    "r": 123,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 231.905,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67668,
    "c": 0.16106,
    "h": 274.6
  },
  "luminance": 0.29807
}

Semantic roles & 50–950 ramp

primary
#7B8CF9
secondary
#F6F1D5
accent
#C700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7B8CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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