#7D7DB2#7D7DB2

#7D7DB2 is a mid, moderate blue. Relative luminance 0.222; OKLCH L 61.1% C 0.080 H 283.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7D7DB2
RGBrgb(125, 125, 178)
HSLhsl(240, 26%, 59%)
HSVhsv(240, 30%, 70%)
CMYKcmyk(29.8%, 29.8%, 0%, 30.2%)
CIE-LABlab(54.28, 12.32, -27.96)
CIE-LCHlch(54.28, 30.56, 293.78°)
OKLaboklab(61.05% 0.019 -0.0775)
OKLCHoklch(61.05% 0.08 283.8)
XYZxyz(23.8248, 22.2410, 45.1485)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7DB2 #B2B27D
analogous
#7D98B2 #7D7DB2 #987DB2
triadic
#7D7DB2 #B27D7D #7DB27D
tetradic
#7D7DB2 #B27D98 #B2B27D #7DB298
square
#7D7DB2 #B27D98 #B2B27D #7DB298
split-complementary
#7D7DB2 #B2987D #98B27D
monochromatic
#434371 #5A5A98 #7D7DB2 #A3A3C9 #CACAE0

Accessibility & contrast

On white

3.85
#7D7DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7D7DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7DB2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7DB2#FFFFFF#000000##000000
##7D7DB21.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E84B4
Deuteranopia (green-blind)
#6C80B1
Tritanopia (blue-blind)
#708790
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d7db2;
/* rgb */ color: rgb(125, 125, 178);
/* oklch */ color: oklch(61.1% 0.080 283.8);
Tailwind
colors: {
  custom: {
    50: '#a4a2c9',
    500: '#7d7db2',
    950: '#000000',
  },
}
SCSS
$custom: #7d7db2;
$custom-light: #a4a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7db2",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 240,
    "s": 25.604,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61052,
    "c": 0.07985,
    "h": 283.8
  },
  "luminance": 0.22242
}

Semantic roles & 50–950 ramp

primary
#7D7DB2
secondary
#D0D0BB
accent
#C266C2
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0F13
muted
#7F7E82

Preview Lab

Preview with #7D7DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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