#7B8DCA#7B8DCA

#7B8DCA is a light, moderate blue. Relative luminance 0.275; OKLCH L 65.4% C 0.094 H 271.0°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7B8DCA
RGBrgb(123, 141, 202)
HSLhsl(226, 43%, 64%)
HSVhsv(226, 39%, 79%)
CMYKcmyk(39.1%, 30.2%, 0%, 20.8%)
CIE-LABlab(59.46, 8.83, -33.58)
CIE-LCHlch(59.46, 34.73, 284.74°)
OKLaboklab(65.36% 0.0017 -0.0937)
OKLCHoklch(65.36% 0.094 271)
XYZxyz(28.3507, 27.5237, 59.6844)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8DCA #CAB87B
analogous
#7BB4CA #7B8DCA #907BCA
triadic
#7B8DCA #CA7B8D #8DCA7B
tetradic
#7B8DCA #CA7BB4 #CAB87B #7BCA90
square
#7B8DCA #CA7BB4 #CAB87B #7BCA90
split-complementary
#7B8DCA #CA907B #B4CA7B
monochromatic
#3A4E91 #4F67B8 #7B8DCA #A7B3DC #D2D8ED

Accessibility & contrast

On white

3.23
#7B8DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#7B8DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8DCA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8DCA#FFFFFF#000000##000000
##7B8DCA1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CD
Deuteranopia (green-blind)
#728CC9
Tritanopia (blue-blind)
#6299A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7b8dca;
/* rgb */ color: rgb(123, 141, 202);
/* oklch */ color: oklch(65.4% 0.094 271.0);
Tailwind
colors: {
  custom: {
    50: '#a4aeda',
    500: '#7b8dca',
    950: '#000000',
  },
}
SCSS
$custom: #7b8dca;
$custom-light: #a4aeda;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8dca",
  "rgb": {
    "r": 123,
    "g": 141,
    "b": 202
  },
  "hsl": {
    "h": 226.329,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65359,
    "c": 0.09377,
    "h": 271
  },
  "luminance": 0.27525
}

Semantic roles & 50–950 ramp

primary
#7B8DCA
secondary
#DED8C2
accent
#9730B6
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7B8DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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