#7988CA#7988CA

#7988CA is a light, moderate blue. Relative luminance 0.259; OKLCH L 64.2% C 0.101 H 273.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7988CA
RGBrgb(121, 136, 202)
HSLhsl(229, 43%, 63%)
HSVhsv(229, 40%, 79%)
CMYKcmyk(40.1%, 32.7%, 0%, 20.8%)
CIE-LABlab(57.98, 11.22, -35.90)
CIE-LCHlch(57.98, 37.62, 287.36°)
OKLaboklab(64.18% 0.0061 -0.1005)
OKLCHoklch(64.18% 0.101 273.5)
XYZxyz(27.3468, 25.9363, 59.4309)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7988CA #CABB79
analogous
#79B0CA #7988CA #9279CA
triadic
#7988CA #CA7988 #88CA79
tetradic
#7988CA #CA79B0 #CABB79 #79CA92
square
#7988CA #CA79B0 #CABB79 #79CA92
split-complementary
#7988CA #CA9279 #B0CA79
monochromatic
#394990 #4D61B9 #7988CA #A5AFDB #D1D6ED

Accessibility & contrast

On white

3.39
#7988CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#7988CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7988CA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7988CA#FFFFFF#000000##000000
##7988CA1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#728FCD
Deuteranopia (green-blind)
#6B88C8
Tritanopia (blue-blind)
#5F95A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7988ca;
/* rgb */ color: rgb(121, 136, 202);
/* oklch */ color: oklch(64.2% 0.101 273.5);
Tailwind
colors: {
  custom: {
    50: '#a3aada',
    500: '#7988ca',
    950: '#000000',
  },
}
SCSS
$custom: #7988ca;
$custom-light: #a3aada;
$custom-dark: #000000;
JSON
{
  "hex": "#7988ca",
  "rgb": {
    "r": 121,
    "g": 136,
    "b": 202
  },
  "hsl": {
    "h": 228.889,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64178,
    "c": 0.10067,
    "h": 273.5
  },
  "luminance": 0.25938
}

Semantic roles & 50–950 ramp

primary
#7988CA
secondary
#DED8C1
accent
#9D2FB6
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7988CA

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

Preview Lab → · Contrast checker → · Palette generator →

#7988CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva