#7B8AFA#7B8AFA

#7B8AFA is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.3% C 0.165 H 275.3°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7B8AFA
RGBrgb(123, 138, 250)
HSLhsl(233, 93%, 73%)
HSVhsv(233, 51%, 98%)
CMYKcmyk(50.8%, 44.8%, 0%, 2%)
CIE-LABlab(61.03, 24.64, -57.79)
CIE-LCHlch(61.03, 62.83, 293.09°)
OKLaboklab(67.34% 0.0153 -0.1643)
OKLCHoklch(67.34% 0.165 275.3)
XYZxyz(34.5067, 29.2879, 94.2588)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8AFA #FAEB7B
analogous
#7BCAFA #7B8AFA #AB7BFA
triadic
#7B8AFA #FA7B8A #8AFA7B
tetradic
#7B8AFA #FA7BCA #FAEB7B #7BFAAB
square
#7B8AFA #FA7BCA #FAEB7B #7BFAAB
split-complementary
#7B8AFA #FAAB7B #CAFA7B
monochromatic
#0925F1 #4056F8 #7B8AFA #B6BEFC #E2E5FE

Accessibility & contrast

On white

3.06
#7B8AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#7B8AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8AFA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8AFA#FFFFFF#000000##000000
##7B8AFA1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FE
Deuteranopia (green-blind)
#4D8EF8
Tritanopia (blue-blind)
#44A2B6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7b8afa;
/* rgb */ color: rgb(123, 138, 250);
/* oklch */ color: oklch(67.3% 0.165 275.3);
Tailwind
colors: {
  custom: {
    50: '#a9abfc',
    500: '#7b8afa',
    950: '#000000',
  },
}
SCSS
$custom: #7b8afa;
$custom-light: #a9abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8afa",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 232.913,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67343,
    "c": 0.16499,
    "h": 275.3
  },
  "luminance": 0.2929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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