#7C8BBB#7C8BBB

#7C8BBB is a light, moderate blue. Relative luminance 0.263; OKLCH L 64.3% C 0.074 H 270.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7C8BBB
RGBrgb(124, 139, 187)
HSLhsl(226, 32%, 61%)
HSVhsv(226, 34%, 73%)
CMYKcmyk(33.7%, 25.7%, 0%, 26.7%)
CIE-LABlab(58.36, 6.19, -26.81)
CIE-LCHlch(58.36, 27.51, 283.01°)
OKLaboklab(64.32% 0.0011 -0.0743)
OKLCHoklch(64.32% 0.074 270.8)
XYZxyz(26.5119, 26.3372, 50.6908)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8BBB #BBAC7C
analogous
#7CAABB #7C8BBB #8C7CBB
triadic
#7C8BBB #BB7C8B #8BBB7C
tetradic
#7C8BBB #BB7CAA #BBAC7C #7CBB8C
square
#7C8BBB #BB7CAA #BBAC7C #7CBB8C
split-complementary
#7C8BBB #BB8C7C #AABB7C
monochromatic
#404F7C #5568A4 #7C8BBB #A4AFD0 #CDD2E5

Accessibility & contrast

On white

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

On black

6.27
#7C8BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8BBB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8BBB#FFFFFF#000000##000000
##7C8BBB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8FBD
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#6A949C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7c8bbb;
/* rgb */ color: rgb(124, 139, 187);
/* oklch */ color: oklch(64.3% 0.074 270.8);
Tailwind
colors: {
  custom: {
    50: '#a3accf',
    500: '#7c8bbb',
    950: '#000000',
  },
}
SCSS
$custom: #7c8bbb;
$custom-light: #a3accf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8bbb",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 187
  },
  "hsl": {
    "h": 225.714,
    "s": 31.658,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64315,
    "c": 0.0743,
    "h": 270.8
  },
  "luminance": 0.26338
}

Semantic roles & 50–950 ramp

primary
#7C8BBB
secondary
#D5D0BE
accent
#903BAA
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #7C8BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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