#7B9EF8#7B9EF8

#7B9EF8 is a light, vivid blue. Relative luminance 0.354; OKLCH L 71.2% C 0.138 H 266.8°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7B9EF8
RGBrgb(123, 158, 248)
HSLhsl(223, 90%, 73%)
HSVhsv(223, 50%, 97%)
CMYKcmyk(50.4%, 36.3%, 0%, 2.7%)
CIE-LABlab(66.09, 12.34, -48.68)
CIE-LCHlch(66.09, 50.22, 284.23°)
OKLaboklab(71.19% -0.0076 -0.1375)
OKLCHoklch(71.19% 0.138 266.8)
XYZxyz(37.3329, 35.4394, 93.6620)
Luminance0.3544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9EF8 #F8D57B
analogous
#7BDCF8 #7B9EF8 #967BF8
triadic
#7B9EF8 #F87B9E #9EF87B
tetradic
#7B9EF8 #F87BDC #F8D57B #7BF896
square
#7B9EF8 #F87BDC #F8D57B #7BF896
split-complementary
#7B9EF8 #F8967B #DCF87B
monochromatic
#0D4BEC #4173F5 #7B9EF8 #B5C9FB #E2EAFD

Accessibility & contrast

On white

2.60
#7B9EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#7B9EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B9EF8
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9EF8#FFFFFF#000000##000000
##7B9EF81.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FC
Deuteranopia (green-blind)
#6D9BF6
Tritanopia (blue-blind)
#42B1BF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7b9ef8;
/* rgb */ color: rgb(123, 158, 248);
/* oklch */ color: oklch(71.2% 0.138 266.8);
Tailwind
colors: {
  custom: {
    50: '#a8bafb',
    500: '#7b9ef8',
    950: '#000000',
  },
}
SCSS
$custom: #7b9ef8;
$custom-light: #a8bafb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9ef8",
  "rgb": {
    "r": 123,
    "g": 158,
    "b": 248
  },
  "hsl": {
    "h": 223.2,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71188,
    "c": 0.13767,
    "h": 266.8
  },
  "luminance": 0.35442
}

Semantic roles & 50–950 ramp

primary
#7B9EF8
secondary
#F6EDD5
accent
#A500E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7B9EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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