#7E79BB#7E79BB

#7E79BB is a mid, moderate blue. Relative luminance 0.217; OKLCH L 60.8% C 0.099 H 286.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7E79BB
RGBrgb(126, 121, 187)
HSLhsl(245, 33%, 60%)
HSVhsv(245, 35%, 73%)
CMYKcmyk(32.6%, 35.3%, 0%, 26.7%)
CIE-LABlab(53.70, 17.36, -34.02)
CIE-LCHlch(53.70, 38.20, 297.04°)
OKLaboklab(60.76% 0.0282 -0.095)
OKLCHoklch(60.76% 0.099 286.5)
XYZxyz(24.4088, 21.6976, 49.9061)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E79BB #B6BB79
analogous
#7995BB #7E79BB #9F79BB
triadic
#7E79BB #BB7E79 #79BB7E
tetradic
#7E79BB #BB7995 #B6BB79 #79BB9F
square
#7E79BB #BB7995 #B6BB79 #79BB9F
split-complementary
#7E79BB #BB9F79 #95BB79
monochromatic
#433E7B #5953A4 #7E79BB #A5A2D0 #CCCAE4

Accessibility & contrast

On white

3.93
#7E79BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#7E79BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E79BB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E79BB#FFFFFF#000000##000000
##7E79BB1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BE
Deuteranopia (green-blind)
#647FB9
Tritanopia (blue-blind)
#6F8591
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e79bb;
/* rgb */ color: rgb(126, 121, 187);
/* oklch */ color: oklch(60.8% 0.099 286.5);
Tailwind
colors: {
  custom: {
    50: '#a59fcf',
    500: '#7e79bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e79bb;
$custom-light: #a59fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e79bb",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 244.545,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60758,
    "c": 0.09905,
    "h": 286.5
  },
  "luminance": 0.21698
}

Semantic roles & 50–950 ramp

primary
#7E79BB
secondary
#D3D5BB
accent
#AB3AA3
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7E79BB

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

Preview Lab → · Contrast checker → · Palette generator →

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