#7F88CA#7F88CA

#7F88CA is a light, moderate blue. Relative luminance 0.264; OKLCH L 64.6% C 0.099 H 277.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7F88CA
RGBrgb(127, 136, 202)
HSLhsl(233, 41%, 65%)
HSVhsv(233, 37%, 79%)
CMYKcmyk(37.1%, 32.7%, 0%, 20.8%)
CIE-LABlab(58.40, 12.85, -35.21)
CIE-LCHlch(58.40, 37.48, 290.05°)
OKLaboklab(64.61% 0.0126 -0.0984)
OKLCHoklch(64.61% 0.099 277.3)
XYZxyz(28.2141, 26.3835, 59.4716)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F88CA #CAC17F
analogous
#7FAECA #7F88CA #9C7FCA
triadic
#7F88CA #CA7F88 #88CA7F
tetradic
#7F88CA #CA7FAE #CAC17F #7FCA9C
square
#7F88CA #CA7FAE #CAC17F #7FCA9C
split-complementary
#7F88CA #CA9C7F #AECA7F
monochromatic
#3C4792 #5460B8 #7F88CA #AAB0DC #D6D8EE

Accessibility & contrast

On white

3.35
#7F88CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#7F88CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F88CA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F88CA#FFFFFF#000000##000000
##7F88CA1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#738FCD
Deuteranopia (green-blind)
#6E8AC8
Tritanopia (blue-blind)
#6995A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f88ca;
/* rgb */ color: rgb(127, 136, 202);
/* oklch */ color: oklch(64.6% 0.099 277.3);
Tailwind
colors: {
  custom: {
    50: '#a6aada',
    500: '#7f88ca',
    950: '#000000',
  },
}
SCSS
$custom: #7f88ca;
$custom-light: #a6aada;
$custom-dark: #000000;
JSON
{
  "hex": "#7f88ca",
  "rgb": {
    "r": 127,
    "g": 136,
    "b": 202
  },
  "hsl": {
    "h": 232.8,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64613,
    "c": 0.09917,
    "h": 277.3
  },
  "luminance": 0.26385
}

Semantic roles & 50–950 ramp

primary
#7F88CA
secondary
#DFDCC5
accent
#A531B4
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101015
muted
#7F7F83

Preview Lab

Preview with #7F88CA

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

Preview Lab → · Contrast checker → · Palette generator →

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