#7B8EFE#7B8EFE

#7B8EFE is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.3% C 0.165 H 274.0°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7B8EFE
RGBrgb(123, 142, 254)
HSLhsl(231, 98%, 74%)
HSVhsv(231, 52%, 100%)
CMYKcmyk(51.6%, 44.1%, 0%, 0.4%)
CIE-LABlab(62.26, 23.50, -58.03)
CIE-LCHlch(62.26, 62.61, 292.05°)
OKLaboklab(68.35% 0.0114 -0.1649)
OKLCHoklch(68.35% 0.165 274)
XYZxyz(35.7250, 30.7104, 97.7919)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8EFE #FEEB7B
analogous
#7BD0FE #7B8EFE #AA7BFE
triadic
#7B8EFE #FE7B8E #8EFE7B
tetradic
#7B8EFE #FE7BD0 #FEEB7B #7BFEAA
square
#7B8EFE #FE7BD0 #FEEB7B #7BFEAA
split-complementary
#7B8EFE #FEAA7B #D0FE7B
monochromatic
#0226FD #3E5AFE #7B8EFE #B8C2FE #E1E5FF

Accessibility & contrast

On white

2.94
#7B8EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#7B8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B8EFE
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8EFE#FFFFFF#000000##000000
##7B8EFE1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#5091FC
Tritanopia (blue-blind)
#40A6BA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7b8efe;
/* rgb */ color: rgb(123, 142, 254);
/* oklch */ color: oklch(68.3% 0.165 274.0);
Tailwind
colors: {
  custom: {
    50: '#a9aeff',
    500: '#7b8efe',
    950: '#000000',
  },
}
SCSS
$custom: #7b8efe;
$custom-light: #a9aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8efe",
  "rgb": {
    "r": 123,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 231.298,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68349,
    "c": 0.16534,
    "h": 274
  },
  "luminance": 0.30713
}

Semantic roles & 50–950 ramp

primary
#7B8EFE
secondary
#F7F2D4
accent
#C400E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7B8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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