#7F85CB#7F85CB

#7F85CB is a light, moderate blue. Relative luminance 0.256; OKLCH L 64.1% C 0.105 H 279.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7F85CB
RGBrgb(127, 133, 203)
HSLhsl(235, 42%, 65%)
HSVhsv(235, 37%, 80%)
CMYKcmyk(37.4%, 34.5%, 0%, 20.4%)
CIE-LABlab(57.65, 14.89, -36.94)
CIE-LCHlch(57.65, 39.83, 291.95°)
OKLaboklab(64.05% 0.0168 -0.1034)
OKLCHoklch(64.05% 0.105 279.3)
XYZxyz(27.9163, 25.5978, 59.9583)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F85CB #CBC57F
analogous
#7FABCB #7F85CB #9F7FCB
triadic
#7F85CB #CB7F85 #85CB7F
tetradic
#7F85CB #CB7FAB #CBC57F #7FCB9F
square
#7F85CB #CB7FAB #CBC57F #7FCB9F
split-complementary
#7F85CB #CB9F7F #ABCB7F
monochromatic
#3C4394 #535CB9 #7F85CB #ABAEDD #D6D8EE

Accessibility & contrast

On white

3.43
#7F85CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#7F85CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F85CB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F85CB#FFFFFF#000000##000000
##7F85CB1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCE
Deuteranopia (green-blind)
#6A88C9
Tritanopia (blue-blind)
#69939F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7f85cb;
/* rgb */ color: rgb(127, 133, 203);
/* oklch */ color: oklch(64.1% 0.105 279.3);
Tailwind
colors: {
  custom: {
    50: '#a7a8db',
    500: '#7f85cb',
    950: '#000000',
  },
}
SCSS
$custom: #7f85cb;
$custom-light: #a7a8db;
$custom-dark: #000000;
JSON
{
  "hex": "#7f85cb",
  "rgb": {
    "r": 127,
    "g": 133,
    "b": 203
  },
  "hsl": {
    "h": 235.263,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64052,
    "c": 0.10474,
    "h": 279.3
  },
  "luminance": 0.25599
}

Semantic roles & 50–950 ramp

primary
#7F85CB
secondary
#E0DEC6
accent
#AB30B5
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #7F85CB

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

Preview Lab → · Contrast checker → · Palette generator →

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