#7E89BC#7E89BC

#7E89BC is a light, moderate blue. Relative luminance 0.260; OKLCH L 64.1% C 0.078 H 274.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7E89BC
RGBrgb(126, 137, 188)
HSLhsl(229, 32%, 62%)
HSVhsv(229, 33%, 74%)
CMYKcmyk(33%, 27.1%, 0%, 26.3%)
CIE-LABlab(58.00, 8.20, -27.92)
CIE-LCHlch(58.00, 29.10, 286.38°)
OKLaboklab(64.09% 0.0063 -0.0774)
OKLCHoklch(64.09% 0.078 274.6)
XYZxyz(26.6244, 25.9568, 51.1746)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E89BC #BCB17E
analogous
#7EA8BC #7E89BC #927EBC
triadic
#7E89BC #BC7E89 #89BC7E
tetradic
#7E89BC #BC7EA8 #BCB17E #7EBC92
square
#7E89BC #BC7EA8 #BCB17E #7EBC92
split-complementary
#7E89BC #BC927E #A8BC7E
monochromatic
#414C7E #5665A6 #7E89BC #A6AED1 #CFD3E6

Accessibility & contrast

On white

3.39
#7E89BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#7E89BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E89BC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E89BC#FFFFFF#000000##000000
##7E89BC1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#798EBE
Deuteranopia (green-blind)
#7589BB
Tritanopia (blue-blind)
#6D939B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7e89bc;
/* rgb */ color: rgb(126, 137, 188);
/* oklch */ color: oklch(64.1% 0.078 274.6);
Tailwind
colors: {
  custom: {
    50: '#a5abd0',
    500: '#7e89bc',
    950: '#000000',
  },
}
SCSS
$custom: #7e89bc;
$custom-light: #a5abd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e89bc",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 188
  },
  "hsl": {
    "h": 229.355,
    "s": 31.633,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64085,
    "c": 0.07768,
    "h": 274.6
  },
  "luminance": 0.25958
}

Semantic roles & 50–950 ramp

primary
#7E89BC
secondary
#D6D2BF
accent
#973BAA
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #7E89BC

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

Preview Lab → · Contrast checker → · Palette generator →

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