#7F78BB#7F78BB

#7F78BB is a mid, moderate blue. Relative luminance 0.215; OKLCH L 60.6% C 0.101 H 287.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7F78BB
RGBrgb(127, 120, 187)
HSLhsl(246, 33%, 60%)
HSVhsv(246, 36%, 73%)
CMYKcmyk(32.1%, 35.8%, 0%, 26.7%)
CIE-LABlab(53.53, 18.25, -34.29)
CIE-LCHlch(53.53, 38.85, 298.02°)
OKLaboklab(60.64% 0.0307 -0.0957)
OKLCHoklch(60.64% 0.101 287.8)
XYZxyz(24.4362, 21.5322, 49.8727)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F78BB #B4BB78
analogous
#7892BB #7F78BB #A178BB
triadic
#7F78BB #BB7F78 #78BB7F
tetradic
#7F78BB #BB7892 #B4BB78 #78BBA1
square
#7F78BB #BB7892 #B4BB78 #78BBA1
split-complementary
#7F78BB #BBA178 #92BB78
monochromatic
#443E7B #5B52A3 #7F78BB #A6A1D0 #CCC9E4

Accessibility & contrast

On white

3.96
#7F78BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7F78BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F78BB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F78BB#FFFFFF#000000##000000
##7F78BB1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BE
Deuteranopia (green-blind)
#647EB9
Tritanopia (blue-blind)
#708491
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f78bb;
/* rgb */ color: rgb(127, 120, 187);
/* oklch */ color: oklch(60.6% 0.101 287.8);
Tailwind
colors: {
  custom: {
    50: '#a69fcf',
    500: '#7f78bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f78bb;
$custom-light: #a69fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f78bb",
  "rgb": {
    "r": 127,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 246.269,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60642,
    "c": 0.10053,
    "h": 287.8
  },
  "luminance": 0.21533
}

Semantic roles & 50–950 ramp

primary
#7F78BB
secondary
#D2D4BB
accent
#AC3AA0
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7F78BB

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

Preview Lab → · Contrast checker → · Palette generator →

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