#7B8EFA#7B8EFA

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

Color values

HEX#7B8EFA
RGBrgb(123, 142, 250)
HSLhsl(231, 93%, 73%)
HSVhsv(231, 51%, 98%)
CMYKcmyk(50.8%, 43.2%, 0%, 2%)
CIE-LABlab(62.05, 22.29, -56.18)
CIE-LCHlch(62.05, 60.44, 291.64°)
OKLaboklab(68.11% 0.0108 -0.1595)
OKLCHoklch(68.11% 0.16 273.9)
XYZxyz(35.0912, 30.4568, 94.4536)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8EFA #FAE77B
analogous
#7BCDFA #7B8EFA #A77BFA
triadic
#7B8EFA #FA7B8E #8EFA7B
tetradic
#7B8EFA #FA7BCD #FAE77B #7BFAA7
square
#7B8EFA #FA7BCD #FAE77B #7BFAA7
split-complementary
#7B8EFA #FAA77B #CDFA7B
monochromatic
#092CF1 #405CF8 #7B8EFA #B6C0FC #E2E6FE

Accessibility & contrast

On white

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

On black

7.09
#7B8EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B8EFA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8EFA#FFFFFF#000000##000000
##7B8EFA1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFE
Deuteranopia (green-blind)
#5491F8
Tritanopia (blue-blind)
#44A5B8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7b8efa;
/* rgb */ color: rgb(123, 142, 250);
/* oklch */ color: oklch(68.1% 0.160 273.9);
Tailwind
colors: {
  custom: {
    50: '#a8aefc',
    500: '#7b8efa',
    950: '#000000',
  },
}
SCSS
$custom: #7b8efa;
$custom-light: #a8aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8efa",
  "rgb": {
    "r": 123,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 231.024,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68114,
    "c": 0.15989,
    "h": 273.9
  },
  "luminance": 0.30459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B8EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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