#7B8DF2#7B8DF2

#7B8DF2 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.5% C 0.150 H 274.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7B8DF2
RGBrgb(123, 141, 242)
HSLhsl(231, 82%, 72%)
HSVhsv(231, 49%, 95%)
CMYKcmyk(49.2%, 41.7%, 0%, 5.1%)
CIE-LABlab(61.37, 20.46, -52.86)
CIE-LCHlch(61.37, 56.68, 291.16°)
OKLaboklab(67.46% 0.0107 -0.1498)
OKLCHoklch(67.46% 0.15 274.1)
XYZxyz(33.7152, 29.6695, 87.9374)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8DF2 #F2E07B
analogous
#7BC9F2 #7B8DF2 #A57BF2
triadic
#7B8DF2 #F27B8D #8DF27B
tetradic
#7B8DF2 #F27BC9 #F2E07B #7BF2A5
square
#7B8DF2 #F27BC9 #F2E07B #7BF2A5
split-complementary
#7B8DF2 #F2A57B #C9F27B
monochromatic
#1634DD #435DED #7B8DF2 #B3BDF7 #E3E7FC

Accessibility & contrast

On white

3.03
#7B8DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#7B8DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8DF2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8DF2#FFFFFF#000000##000000
##7B8DF21.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#598FF0
Tritanopia (blue-blind)
#4BA2B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7b8df2;
/* rgb */ color: rgb(123, 141, 242);
/* oklch */ color: oklch(67.5% 0.150 274.1);
Tailwind
colors: {
  custom: {
    50: '#a8aef7',
    500: '#7b8df2',
    950: '#000000',
  },
}
SCSS
$custom: #7b8df2;
$custom-light: #a8aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8df2",
  "rgb": {
    "r": 123,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 230.924,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67458,
    "c": 0.15017,
    "h": 274.1
  },
  "luminance": 0.29672
}

Semantic roles & 50–950 ramp

primary
#7B8DF2
secondary
#F4EFD5
accent
#BE07DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7B8DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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