#7D8ABA#7D8ABA

#7D8ABA is a light, moderate blue. Relative luminance 0.261; OKLCH L 64.1% C 0.074 H 272.5°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7D8ABA
RGBrgb(125, 138, 186)
HSLhsl(227, 31%, 61%)
HSVhsv(227, 33%, 73%)
CMYKcmyk(32.8%, 25.8%, 0%, 27.1%)
CIE-LABlab(58.11, 6.80, -26.61)
CIE-LCHlch(58.11, 27.46, 284.34°)
OKLaboklab(64.13% 0.0032 -0.0737)
OKLCHoklch(64.13% 0.074 272.5)
XYZxyz(26.4063, 26.0812, 50.0877)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8ABA #BAAD7D
analogous
#7DA8BA #7D8ABA #8E7DBA
triadic
#7D8ABA #BA7D8A #8ABA7D
tetradic
#7D8ABA #BA7DA8 #BAAD7D #7DBA8E
square
#7D8ABA #BA7DA8 #BAAD7D #7DBA8E
split-complementary
#7D8ABA #BA8E7D #A8BA7D
monochromatic
#414E7B #5767A3 #7D8ABA #A5AECF #CDD2E4

Accessibility & contrast

On white

3.38
#7D8ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#7D8ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8ABA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8ABA#FFFFFF#000000##000000
##7D8ABA1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8EBC
Deuteranopia (green-blind)
#7689B9
Tritanopia (blue-blind)
#6C939B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7d8aba;
/* rgb */ color: rgb(125, 138, 186);
/* oklch */ color: oklch(64.1% 0.074 272.5);
Tailwind
colors: {
  custom: {
    50: '#a4accf',
    500: '#7d8aba',
    950: '#000000',
  },
}
SCSS
$custom: #7d8aba;
$custom-light: #a4accf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8aba",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 186
  },
  "hsl": {
    "h": 227.213,
    "s": 30.653,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64132,
    "c": 0.07377,
    "h": 272.5
  },
  "luminance": 0.26082
}

Semantic roles & 50–950 ramp

primary
#7D8ABA
secondary
#D5D0BE
accent
#923CA9
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #7D8ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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