#7F89CA#7F89CA

#7F89CA is a light, moderate blue. Relative luminance 0.267; OKLCH L 64.8% C 0.098 H 276.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7F89CA
RGBrgb(127, 137, 202)
HSLhsl(232, 41%, 65%)
HSVhsv(232, 37%, 79%)
CMYKcmyk(37.1%, 32.2%, 0%, 20.8%)
CIE-LABlab(58.66, 12.27, -34.80)
CIE-LCHlch(58.66, 36.90, 289.42°)
OKLaboklab(64.82% 0.0113 -0.0972)
OKLCHoklch(64.82% 0.098 276.6)
XYZxyz(28.3556, 26.6665, 59.5188)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F89CA #CAC07F
analogous
#7FAFCA #7F89CA #9B7FCA
triadic
#7F89CA #CA7F89 #89CA7F
tetradic
#7F89CA #CA7FAF #CAC07F #7FCA9B
square
#7F89CA #CA7FAF #CAC07F #7FCA9B
split-complementary
#7F89CA #CA9B7F #AFCA7F
monochromatic
#3C4892 #5461B8 #7F89CA #AAB1DC #D6D9EE

Accessibility & contrast

On white

3.32
#7F89CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#7F89CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F89CA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F89CA#FFFFFF#000000##000000
##7F89CA1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7490CD
Deuteranopia (green-blind)
#6F8AC8
Tritanopia (blue-blind)
#6996A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7f89ca;
/* rgb */ color: rgb(127, 137, 202);
/* oklch */ color: oklch(64.8% 0.098 276.6);
Tailwind
colors: {
  custom: {
    50: '#a6abda',
    500: '#7f89ca',
    950: '#000000',
  },
}
SCSS
$custom: #7f89ca;
$custom-light: #a6abda;
$custom-dark: #000000;
JSON
{
  "hex": "#7f89ca",
  "rgb": {
    "r": 127,
    "g": 137,
    "b": 202
  },
  "hsl": {
    "h": 232,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64817,
    "c": 0.09783,
    "h": 276.6
  },
  "luminance": 0.26668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F89CA

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

Preview Lab → · Contrast checker → · Palette generator →

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