#7B8DFA#7B8DFA

#7B8DFA is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.9% C 0.161 H 274.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7B8DFA
RGBrgb(123, 141, 250)
HSLhsl(231, 93%, 73%)
HSVhsv(231, 51%, 98%)
CMYKcmyk(50.8%, 43.6%, 0%, 2%)
CIE-LABlab(61.79, 22.88, -56.59)
CIE-LCHlch(61.79, 61.03, 292.01°)
OKLaboklab(67.92% 0.012 -0.1607)
OKLCHoklch(67.92% 0.161 274.3)
XYZxyz(34.9431, 30.1606, 94.4042)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8DFA #FAE87B
analogous
#7BCCFA #7B8DFA #A87BFA
triadic
#7B8DFA #FA7B8D #8DFA7B
tetradic
#7B8DFA #FA7BCC #FAE87B #7BFAA8
square
#7B8DFA #FA7BCC #FAE87B #7BFAA8
split-complementary
#7B8DFA #FAA87B #CCFA7B
monochromatic
#092AF1 #405AF8 #7B8DFA #B6C0FC #E2E6FE

Accessibility & contrast

On white

2.99
#7B8DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#7B8DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B8DFA
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8DFA#FFFFFF#000000##000000
##7B8DFA1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#5290F8
Tritanopia (blue-blind)
#44A4B7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7b8dfa;
/* rgb */ color: rgb(123, 141, 250);
/* oklch */ color: oklch(67.9% 0.161 274.3);
Tailwind
colors: {
  custom: {
    50: '#a8aefc',
    500: '#7b8dfa',
    950: '#000000',
  },
}
SCSS
$custom: #7b8dfa;
$custom-light: #a8aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8dfa",
  "rgb": {
    "r": 123,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 231.496,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.6792,
    "c": 0.16115,
    "h": 274.3
  },
  "luminance": 0.30163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B8DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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