#7985CB#7985CB

#7985CB is a light, moderate blue. Relative luminance 0.252; OKLCH L 63.6% C 0.106 H 275.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7985CB
RGBrgb(121, 133, 203)
HSLhsl(231, 44%, 64%)
HSVhsv(231, 40%, 80%)
CMYKcmyk(40.4%, 34.5%, 0%, 20.4%)
CIE-LABlab(57.22, 13.27, -37.65)
CIE-LCHlch(57.22, 39.92, 289.42°)
OKLaboklab(63.61% 0.0103 -0.1055)
OKLCHoklch(63.61% 0.106 275.6)
XYZxyz(27.0490, 25.1506, 59.9177)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985CB #CBBF79
analogous
#79AECB #7985CB #9679CB
triadic
#7985CB #CB7985 #85CB79
tetradic
#7985CB #CB79AE #CBBF79 #79CB96
square
#7985CB #CB79AE #CBBF79 #79CB96
split-complementary
#7985CB #CB9679 #AECB79
monochromatic
#384591 #4D5DBA #7985CB #A5ADDC #D1D5ED

Accessibility & contrast

On white

3.48
#7985CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#7985CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985CB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985CB#FFFFFF#000000##000000
##7985CB1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DCE
Deuteranopia (green-blind)
#6786C9
Tritanopia (blue-blind)
#5F939F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7985cb;
/* rgb */ color: rgb(121, 133, 203);
/* oklch */ color: oklch(63.6% 0.106 275.6);
Tailwind
colors: {
  custom: {
    50: '#a3a8db',
    500: '#7985cb',
    950: '#000000',
  },
}
SCSS
$custom: #7985cb;
$custom-light: #a3a8db;
$custom-dark: #000000;
JSON
{
  "hex": "#7985cb",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 203
  },
  "hsl": {
    "h": 231.22,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6361,
    "c": 0.10604,
    "h": 275.6
  },
  "luminance": 0.25152
}

Semantic roles & 50–950 ramp

primary
#7985CB
secondary
#DEDAC1
accent
#A32EB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7985CB

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

Preview Lab → · Contrast checker → · Palette generator →

#7985CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva