#7B8EF5#7B8EF5

#7B8EF5 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.8% C 0.153 H 273.8°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7B8EF5
RGBrgb(123, 142, 245)
HSLhsl(231, 86%, 72%)
HSVhsv(231, 50%, 96%)
CMYKcmyk(49.8%, 42%, 0%, 3.9%)
CIE-LABlab(61.78, 20.77, -53.85)
CIE-LCHlch(61.78, 57.72, 291.09°)
OKLaboklab(67.83% 0.01 -0.1527)
OKLCHoklch(67.83% 0.153 273.8)
XYZxyz(34.3176, 30.1474, 90.3792)
Luminance0.3015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8EF5 #F5E27B
analogous
#7BCBF5 #7B8EF5 #A57BF5
triadic
#7B8EF5 #F57B8E #8EF57B
tetradic
#7B8EF5 #F57BCB #F5E27B #7BF5A5
square
#7B8EF5 #F57BCB #F5E27B #7BF5A5
split-complementary
#7B8EF5 #F5A57B #CBF57B
monochromatic
#1132E4 #425DF1 #7B8EF5 #B4BFF9 #E3E7FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B8EF5#FFFFFF#000000##000000
##7B8EF51.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)
#649BF9
Deuteranopia (green-blind)
#5890F3
Tritanopia (blue-blind)
#48A4B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7b8ef5;
/* rgb */ color: rgb(123, 142, 245);
/* oklch */ color: oklch(67.8% 0.153 273.8);
Tailwind
colors: {
  custom: {
    50: '#a8aef9',
    500: '#7b8ef5',
    950: '#000000',
  },
}
SCSS
$custom: #7b8ef5;
$custom-light: #a8aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8ef5",
  "rgb": {
    "r": 123,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 230.656,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67825,
    "c": 0.15303,
    "h": 273.8
  },
  "luminance": 0.3015
}

Semantic roles & 50–950 ramp

primary
#7B8EF5
secondary
#F5F0D6
accent
#C003E2
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7B8EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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