#7F79BB#7F79BB

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

Color values

HEX#7F79BB
RGBrgb(127, 121, 187)
HSLhsl(245, 33%, 60%)
HSVhsv(245, 35%, 73%)
CMYKcmyk(32.1%, 35.3%, 0%, 26.7%)
CIE-LABlab(53.79, 17.65, -33.89)
CIE-LCHlch(53.79, 38.21, 297.51°)
OKLaboklab(60.84% 0.0293 -0.0945)
OKLCHoklch(60.84% 0.099 287.2)
XYZxyz(24.5570, 21.7740, 49.9130)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F79BB #B5BB79
analogous
#7994BB #7F79BB #A079BB
triadic
#7F79BB #BB7F79 #79BB7F
tetradic
#7F79BB #BB7994 #B5BB79 #79BBA0
square
#7F79BB #BB7994 #B5BB79 #79BBA0
split-complementary
#7F79BB #BBA079 #94BB79
monochromatic
#443E7B #5A53A4 #7F79BB #A6A2D0 #CDCAE4

Accessibility & contrast

On white

3.92
#7F79BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7F79BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F79BB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F79BB#FFFFFF#000000##000000
##7F79BB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6682BE
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#708591
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7f79bb;
/* rgb */ color: rgb(127, 121, 187);
/* oklch */ color: oklch(60.8% 0.099 287.2);
Tailwind
colors: {
  custom: {
    50: '#a69fcf',
    500: '#7f79bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f79bb;
$custom-light: #a69fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f79bb",
  "rgb": {
    "r": 127,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 245.455,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60841,
    "c": 0.09899,
    "h": 287.2
  },
  "luminance": 0.21775
}

Semantic roles & 50–950 ramp

primary
#7F79BB
secondary
#D2D5BB
accent
#AB3AA1
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7F79BB

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

Preview Lab → · Contrast checker → · Palette generator →

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