#7B8CDC#7B8CDC

#7B8CDC is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.1% C 0.121 H 273.6°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7B8CDC
RGBrgb(123, 140, 220)
HSLhsl(229, 58%, 67%)
HSVhsv(229, 44%, 86%)
CMYKcmyk(44.1%, 36.4%, 0%, 13.7%)
CIE-LABlab(60.01, 14.54, -42.81)
CIE-LCHlch(60.01, 45.21, 288.76°)
OKLaboklab(66.05% 0.0075 -0.1205)
OKLCHoklch(66.05% 0.121 273.6)
XYZxyz(30.4607, 28.1328, 71.5214)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8CDC #DCCB7B
analogous
#7BBCDC #7B8CDC #9B7BDC
triadic
#7B8CDC #DC7B8C #8CDC7B
tetradic
#7B8CDC #DC7BBC #DCCB7B #7BDC9B
square
#7B8CDC #DC7BBC #DCCB7B #7BDC9B
split-complementary
#7B8CDC #DC9B7B #BCDC7B
monochromatic
#2E45AE #4B62CF #7B8CDC #ABB6E9 #DCE0F6

Accessibility & contrast

On white

3.17
#7B8CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#7B8CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8CDC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8CDC#FFFFFF#000000##000000
##7B8CDC1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95DF
Deuteranopia (green-blind)
#678DDA
Tritanopia (blue-blind)
#599CAA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7b8cdc;
/* rgb */ color: rgb(123, 140, 220);
/* oklch */ color: oklch(66.1% 0.121 273.6);
Tailwind
colors: {
  custom: {
    50: '#a5ade7',
    500: '#7b8cdc',
    950: '#000000',
  },
}
SCSS
$custom: #7b8cdc;
$custom-light: #a5ade7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8cdc",
  "rgb": {
    "r": 123,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 229.485,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66055,
    "c": 0.12069,
    "h": 273.6
  },
  "luminance": 0.28134
}

Semantic roles & 50–950 ramp

primary
#7B8CDC
secondary
#E9E3CA
accent
#A920C6
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7B8CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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