#7A8BC2#7A8BC2

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

Color values

HEX#7A8BC2
RGBrgb(122, 139, 194)
HSLhsl(226, 37%, 62%)
HSVhsv(226, 37%, 76%)
CMYKcmyk(37.1%, 28.4%, 0%, 23.9%)
CIE-LABlab(58.51, 7.51, -30.55)
CIE-LCHlch(58.51, 31.46, 283.81°)
OKLaboklab(64.49% 0.001 -0.085)
OKLCHoklch(64.49% 0.085 270.7)
XYZxyz(26.9934, 26.4967, 54.7206)
Luminance0.2650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8BC2 #C2B17A
analogous
#7AAFC2 #7A8BC2 #8D7AC2
triadic
#7A8BC2 #C27A8B #8BC27A
tetradic
#7A8BC2 #C27AAF #C2B17A #7AC28D
square
#7A8BC2 #C27AAF #C2B17A #7AC28D
split-complementary
#7A8BC2 #C28D7A #AFC27A
monochromatic
#3D4E85 #5066AF #7A8BC2 #A4B0D5 #CED4E8

Accessibility & contrast

On white

3.33
#7A8BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A8BC2#FFFFFF#000000##000000
##7A8BC21.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7990C4
Deuteranopia (green-blind)
#738AC1
Tritanopia (blue-blind)
#64969E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7a8bc2;
/* rgb */ color: rgb(122, 139, 194);
/* oklch */ color: oklch(64.5% 0.085 270.7);
Tailwind
colors: {
  custom: {
    50: '#a3acd4',
    500: '#7a8bc2',
    950: '#000000',
  },
}
SCSS
$custom: #7a8bc2;
$custom-light: #a3acd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8bc2",
  "rgb": {
    "r": 122,
    "g": 139,
    "b": 194
  },
  "hsl": {
    "h": 225.833,
    "s": 37.113,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64491,
    "c": 0.08506,
    "h": 270.7
  },
  "luminance": 0.26498
}

Semantic roles & 50–950 ramp

primary
#7A8BC2
secondary
#D9D3BF
accent
#9335B0
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #7A8BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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