#7B8DEF#7B8DEF

#7B8DEF is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.3% C 0.146 H 274.0°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7B8DEF
RGBrgb(123, 141, 239)
HSLhsl(231, 78%, 71%)
HSVhsv(231, 49%, 94%)
CMYKcmyk(48.5%, 41%, 0%, 6.3%)
CIE-LABlab(61.21, 19.56, -51.45)
CIE-LCHlch(61.21, 55.04, 290.82°)
OKLaboklab(67.29% 0.0101 -0.1457)
OKLCHoklch(67.29% 0.146 274)
XYZxyz(33.2683, 29.4907, 85.5839)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8DEF #EFDD7B
analogous
#7BC7EF #7B8DEF #A37BEF
triadic
#7B8DEF #EF7B8D #8DEF7B
tetradic
#7B8DEF #EF7BC7 #EFDD7B #7BEFA3
square
#7B8DEF #EF7BC7 #EFDD7B #7BEFA3
split-complementary
#7B8DEF #EFA37B #C7EF7B
monochromatic
#1A37D6 #445EE8 #7B8DEF #B2BCF6 #E4E7FC

Accessibility & contrast

On white

3.04
#7B8DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#7B8DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8DEF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8DEF#FFFFFF#000000##000000
##7B8DEF1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#5B8FED
Tritanopia (blue-blind)
#4DA2B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7b8def;
/* rgb */ color: rgb(123, 141, 239);
/* oklch */ color: oklch(67.3% 0.146 274.0);
Tailwind
colors: {
  custom: {
    50: '#a7aef5',
    500: '#7b8def',
    950: '#000000',
  },
}
SCSS
$custom: #7b8def;
$custom-light: #a7aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8def",
  "rgb": {
    "r": 123,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 230.69,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67288,
    "c": 0.14602,
    "h": 274
  },
  "luminance": 0.29493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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