#7B8DFB#7B8DFB

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

Color values

HEX#7B8DFB
RGBrgb(123, 141, 251)
HSLhsl(232, 94%, 73%)
HSVhsv(232, 51%, 98%)
CMYKcmyk(51%, 43.8%, 0%, 1.6%)
CIE-LABlab(61.85, 23.18, -57.05)
CIE-LCHlch(61.85, 61.58, 292.11°)
OKLaboklab(67.98% 0.0121 -0.1621)
OKLCHoklch(67.98% 0.163 274.3)
XYZxyz(35.1003, 30.2235, 95.2322)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8DFB #FBE97B
analogous
#7BCDFB #7B8DFB #A97BFB
triadic
#7B8DFB #FB7B8D #8DFB7B
tetradic
#7B8DFB #FB7BCD #FBE97B #7BFBA9
square
#7B8DFB #FB7BCD #FBE97B #7BFBA9
split-complementary
#7B8DFB #FBA97B #CDFB7B
monochromatic
#0729F4 #405AF9 #7B8DFB #B6C0FD #E1E5FE

Accessibility & contrast

On white

2.98
#7B8DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#7B8DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B8DFB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8DFB#FFFFFF#000000##000000
##7B8DFB1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#5190F9
Tritanopia (blue-blind)
#43A5B8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7b8dfb;
/* rgb */ color: rgb(123, 141, 251);
/* oklch */ color: oklch(68.0% 0.163 274.3);
Tailwind
colors: {
  custom: {
    50: '#a9aefd',
    500: '#7b8dfb',
    950: '#000000',
  },
}
SCSS
$custom: #7b8dfb;
$custom-light: #a9aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8dfb",
  "rgb": {
    "r": 123,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 231.563,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67979,
    "c": 0.16252,
    "h": 274.3
  },
  "luminance": 0.30226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B8DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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