#7E8BBF#7E8BBF

#7E8BBF is a light, moderate blue. Relative luminance 0.267; OKLCH L 64.6% C 0.079 H 273.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7E8BBF
RGBrgb(126, 139, 191)
HSLhsl(228, 34%, 62%)
HSVhsv(228, 34%, 75%)
CMYKcmyk(34%, 27.2%, 0%, 25.1%)
CIE-LABlab(58.66, 7.84, -28.59)
CIE-LCHlch(58.66, 29.65, 285.33°)
OKLaboklab(64.64% 0.0044 -0.0794)
OKLCHoklch(64.64% 0.079 273.2)
XYZxyz(27.2381, 26.6614, 52.9911)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8BBF #BFB27E
analogous
#7EACBF #7E8BBF #927EBF
triadic
#7E8BBF #BF7E8B #8BBF7E
tetradic
#7E8BBF #BF7EAC #BFB27E #7EBF92
square
#7E8BBF #BF7EAC #BFB27E #7EBF92
split-complementary
#7E8BBF #BF927E #ACBF7E
monochromatic
#414E82 #5566AB #7E8BBF #A7B0D3 #D0D5E8

Accessibility & contrast

On white

3.32
#7E8BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#7E8BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8BBF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8BBF#FFFFFF#000000##000000
##7E8BBF1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B90C1
Deuteranopia (green-blind)
#768BBE
Tritanopia (blue-blind)
#6C959D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e8bbf;
/* rgb */ color: rgb(126, 139, 191);
/* oklch */ color: oklch(64.6% 0.079 273.2);
Tailwind
colors: {
  custom: {
    50: '#a5acd2',
    500: '#7e8bbf',
    950: '#000000',
  },
}
SCSS
$custom: #7e8bbf;
$custom-light: #a5acd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8bbf",
  "rgb": {
    "r": 126,
    "g": 139,
    "b": 191
  },
  "hsl": {
    "h": 228,
    "s": 33.679,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64641,
    "c": 0.07949,
    "h": 273.2
  },
  "luminance": 0.26662
}

Semantic roles & 50–950 ramp

primary
#7E8BBF
secondary
#D8D4C0
accent
#9539AC
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #7E8BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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