#7B8EFB#7B8EFB

#7B8EFB is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.2% C 0.161 H 273.9°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7B8EFB
RGBrgb(123, 142, 251)
HSLhsl(231, 94%, 73%)
HSVhsv(231, 51%, 98%)
CMYKcmyk(51%, 43.4%, 0%, 1.6%)
CIE-LABlab(62.10, 22.59, -56.64)
CIE-LCHlch(62.10, 60.98, 291.74°)
OKLaboklab(68.17% 0.011 -0.1609)
OKLCHoklch(68.17% 0.161 273.9)
XYZxyz(35.2484, 30.5197, 95.2816)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8EFB #FBE87B
analogous
#7BCEFB #7B8EFB #A87BFB
triadic
#7B8EFB #FB7B8E #8EFB7B
tetradic
#7B8EFB #FB7BCE #FBE87B #7BFBA8
square
#7B8EFB #FB7BCE #FBE87B #7BFBA8
split-complementary
#7B8EFB #FBA87B #CEFB7B
monochromatic
#072BF4 #405BF9 #7B8EFB #B6C1FD #E1E6FE

Accessibility & contrast

On white

2.96
#7B8EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#7B8EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B8EFB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8EFB#FFFFFF#000000##000000
##7B8EFB1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#5391F9
Tritanopia (blue-blind)
#43A5B8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7b8efb;
/* rgb */ color: rgb(123, 142, 251);
/* oklch */ color: oklch(68.2% 0.161 273.9);
Tailwind
colors: {
  custom: {
    50: '#a9aefd',
    500: '#7b8efb',
    950: '#000000',
  },
}
SCSS
$custom: #7b8efb;
$custom-light: #a9aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8efb",
  "rgb": {
    "r": 123,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 231.094,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68172,
    "c": 0.16124,
    "h": 273.9
  },
  "luminance": 0.30522
}

Semantic roles & 50–950 ramp

primary
#7B8EFB
secondary
#F6F1D5
accent
#C300E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7B8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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