#7F85CA#7F85CA

#7F85CA is a light, moderate blue. Relative luminance 0.256; OKLCH L 64.0% C 0.103 H 279.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7F85CA
RGBrgb(127, 133, 202)
HSLhsl(235, 41%, 65%)
HSVhsv(235, 37%, 79%)
CMYKcmyk(37.1%, 34.2%, 0%, 20.8%)
CIE-LABlab(57.61, 14.61, -36.45)
CIE-LCHlch(57.61, 39.27, 291.85°)
OKLaboklab(64% 0.0166 -0.1019)
OKLCHoklch(64% 0.103 279.2)
XYZxyz(27.7975, 25.5503, 59.3327)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F85CA #CAC47F
analogous
#7FABCA #7F85CA #9F7FCA
triadic
#7F85CA #CA7F85 #85CA7F
tetradic
#7F85CA #CA7FAB #CAC47F #7FCA9F
square
#7F85CA #CA7FAB #CAC47F #7FCA9F
split-complementary
#7F85CA #CA9F7F #ABCA7F
monochromatic
#3C4392 #545CB8 #7F85CA #AAAEDC #D6D8EE

Accessibility & contrast

On white

3.44
#7F85CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#7F85CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F85CA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F85CA#FFFFFF#000000##000000
##7F85CA1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8DCD
Deuteranopia (green-blind)
#6A88C8
Tritanopia (blue-blind)
#6A929E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7f85ca;
/* rgb */ color: rgb(127, 133, 202);
/* oklch */ color: oklch(64.0% 0.103 279.2);
Tailwind
colors: {
  custom: {
    50: '#a6a8da',
    500: '#7f85ca',
    950: '#000000',
  },
}
SCSS
$custom: #7f85ca;
$custom-light: #a6a8da;
$custom-dark: #000000;
JSON
{
  "hex": "#7f85ca",
  "rgb": {
    "r": 127,
    "g": 133,
    "b": 202
  },
  "hsl": {
    "h": 235.2,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64002,
    "c": 0.10329,
    "h": 279.2
  },
  "luminance": 0.25551
}

Semantic roles & 50–950 ramp

primary
#7F85CA
secondary
#DFDDC5
accent
#AA31B4
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #7F85CA

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

Preview Lab → · Contrast checker → · Palette generator →

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