#7E7BBF#7E7BBF

#7E7BBF is a mid, moderate blue. Relative luminance 0.224; OKLCH L 61.4% C 0.102 H 285.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7E7BBF
RGBrgb(126, 123, 191)
HSLhsl(243, 35%, 62%)
HSVhsv(243, 36%, 75%)
CMYKcmyk(34%, 35.6%, 0%, 25.1%)
CIE-LABlab(54.41, 17.25, -35.21)
CIE-LCHlch(54.41, 39.21, 296.10°)
OKLaboklab(61.36% 0.0264 -0.0984)
OKLCHoklch(61.36% 0.102 285)
XYZxyz(25.0886, 22.3624, 52.2746)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7BBF #BCBF7B
analogous
#7B9ABF #7E7BBF #A07BBF
triadic
#7E7BBF #BF7E7B #7BBF7E
tetradic
#7E7BBF #BF7B9A #BCBF7B #7BBFA0
square
#7E7BBF #BF7B9A #BCBF7B #7BBFA0
split-complementary
#7E7BBF #BFA07B #9ABF7B
monochromatic
#413F81 #5653AA #7E7BBF #A6A4D3 #CFCDE7

Accessibility & contrast

On white

3.84
#7E7BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7E7BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7BBF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7BBF#FFFFFF#000000##000000
##7E7BBF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6684C2
Deuteranopia (green-blind)
#6480BD
Tritanopia (blue-blind)
#6D8894
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e7bbf;
/* rgb */ color: rgb(126, 123, 191);
/* oklch */ color: oklch(61.4% 0.102 285.0);
Tailwind
colors: {
  custom: {
    50: '#a5a1d2',
    500: '#7e7bbf',
    950: '#000000',
  },
}
SCSS
$custom: #7e7bbf;
$custom-light: #a5a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7bbf",
  "rgb": {
    "r": 126,
    "g": 123,
    "b": 191
  },
  "hsl": {
    "h": 242.647,
    "s": 34.694,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61359,
    "c": 0.10186,
    "h": 285
  },
  "luminance": 0.22363
}

Semantic roles & 50–950 ramp

primary
#7E7BBF
secondary
#D6D8BE
accent
#AE38A8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7E7BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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