#7B8AEF#7B8AEF

#7B8AEF is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.7% C 0.150 H 275.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7B8AEF
RGBrgb(123, 138, 239)
HSLhsl(232, 78%, 71%)
HSVhsv(232, 49%, 94%)
CMYKcmyk(48.5%, 42.3%, 0%, 6.3%)
CIE-LABlab(60.44, 21.33, -52.67)
CIE-LCHlch(60.44, 56.83, 292.04°)
OKLaboklab(66.7% 0.0136 -0.1493)
OKLCHoklch(66.7% 0.15 275.2)
XYZxyz(32.8320, 28.6180, 85.4384)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8AEF #EFE07B
analogous
#7BC4EF #7B8AEF #A67BEF
triadic
#7B8AEF #EF7B8A #8AEF7B
tetradic
#7B8AEF #EF7BC4 #EFE07B #7BEFA6
square
#7B8AEF #EF7BC4 #EFE07B #7BEFA6
split-complementary
#7B8AEF #EFA67B #C4EF7B
monochromatic
#1A32D6 #445AE8 #7B8AEF #B2BAF6 #E4E7FC

Accessibility & contrast

On white

3.12
#7B8AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#7B8AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8AEF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8AEF#FFFFFF#000000##000000
##7B8AEF1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#578DED
Tritanopia (blue-blind)
#4D9FB1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7b8aef;
/* rgb */ color: rgb(123, 138, 239);
/* oklch */ color: oklch(66.7% 0.150 275.2);
Tailwind
colors: {
  custom: {
    50: '#a7abf5',
    500: '#7b8aef',
    950: '#000000',
  },
}
SCSS
$custom: #7b8aef;
$custom-light: #a7abf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8aef",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 232.241,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.667,
    "c": 0.14989,
    "h": 275.2
  },
  "luminance": 0.2862
}

Semantic roles & 50–950 ramp

primary
#7B8AEF
secondary
#F2EED3
accent
#C00BDB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7B8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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