#7F88CC#7F88CC

#7F88CC is a light, moderate blue. Relative luminance 0.265; OKLCH L 64.7% C 0.102 H 277.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7F88CC
RGBrgb(127, 136, 204)
HSLhsl(233, 43%, 65%)
HSVhsv(233, 38%, 80%)
CMYKcmyk(37.7%, 33.3%, 0%, 20%)
CIE-LABlab(58.49, 13.40, -36.20)
CIE-LCHlch(58.49, 38.60, 290.32°)
OKLaboklab(64.71% 0.0131 -0.1012)
OKLCHoklch(64.71% 0.102 277.4)
XYZxyz(28.4525, 26.4788, 60.7268)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F88CC #CCC37F
analogous
#7FAFCC #7F88CC #9D7FCC
triadic
#7F88CC #CC7F88 #88CC7F
tetradic
#7F88CC #CC7FAF #CCC37F #7FCC9D
square
#7F88CC #CC7FAF #CCC37F #7FCC9D
split-complementary
#7F88CC #CC9D7F #AFCC7F
monochromatic
#3B4695 #535FBB #7F88CC #ABB1DD #D7D9EF

Accessibility & contrast

On white

3.34
#7F88CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#7F88CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F88CC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F88CC#FFFFFF#000000##000000
##7F88CC1.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290CF
Deuteranopia (green-blind)
#6D8ACA
Tritanopia (blue-blind)
#6895A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7f88cc;
/* rgb */ color: rgb(127, 136, 204);
/* oklch */ color: oklch(64.7% 0.102 277.4);
Tailwind
colors: {
  custom: {
    50: '#a7aadc',
    500: '#7f88cc',
    950: '#000000',
  },
}
SCSS
$custom: #7f88cc;
$custom-light: #a7aadc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f88cc",
  "rgb": {
    "r": 127,
    "g": 136,
    "b": 204
  },
  "hsl": {
    "h": 232.987,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64711,
    "c": 0.10208,
    "h": 277.4
  },
  "luminance": 0.2648
}

Semantic roles & 50–950 ramp

primary
#7F88CC
secondary
#E1DDC6
accent
#A62FB6
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #7F88CC

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

Preview Lab → · Contrast checker → · Palette generator →

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