#7B81EF#7B81EF

#7B81EF is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.0% C 0.162 H 278.5°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7B81EF
RGBrgb(123, 129, 239)
HSLhsl(237, 78%, 71%)
HSVhsv(237, 49%, 94%)
CMYKcmyk(48.5%, 46%, 0%, 6.3%)
CIE-LABlab(58.17, 26.65, -56.29)
CIE-LCHlch(58.17, 62.28, 295.34°)
OKLaboklab(64.97% 0.024 -0.1599)
OKLCHoklch(64.97% 0.162 278.5)
XYZxyz(31.5938, 26.1417, 85.0257)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B81EF #EFE97B
analogous
#7BBBEF #7B81EF #AF7BEF
triadic
#7B81EF #EF7B81 #81EF7B
tetradic
#7B81EF #EF7BBB #EFE97B #7BEFAF
square
#7B81EF #EF7BBB #EFE97B #7BEFAF
split-complementary
#7B81EF #EFAF7B #BBEF7B
monochromatic
#1A24D6 #444DE8 #7B81EF #B2B5F6 #E4E5FC

Accessibility & contrast

On white

3.37
#7B81EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#7B81EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B81EF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B81EF#FFFFFF#000000##000000
##7B81EF1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F3
Deuteranopia (green-blind)
#4887ED
Tritanopia (blue-blind)
#4F98AC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7b81ef;
/* rgb */ color: rgb(123, 129, 239);
/* oklch */ color: oklch(65.0% 0.162 278.5);
Tailwind
colors: {
  custom: {
    50: '#a8a5f5',
    500: '#7b81ef',
    950: '#000000',
  },
}
SCSS
$custom: #7b81ef;
$custom-light: #a8a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b81ef",
  "rgb": {
    "r": 123,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 236.897,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64971,
    "c": 0.16173,
    "h": 278.5
  },
  "luminance": 0.26143
}

Semantic roles & 50–950 ramp

primary
#7B81EF
secondary
#F2F1D3
accent
#D00BDB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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