#7F97CA#7F97CA

#7F97CA is a light, moderate blue. Relative luminance 0.309; OKLCH L 67.7% C 0.081 H 264.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7F97CA
RGBrgb(127, 151, 202)
HSLhsl(221, 41%, 65%)
HSVhsv(221, 37%, 79%)
CMYKcmyk(37.1%, 25.2%, 0%, 20.8%)
CIE-LABlab(62.43, 4.16, -28.95)
CIE-LCHlch(62.43, 29.25, 278.19°)
OKLaboklab(67.74% -0.0072 -0.0804)
OKLCHoklch(67.74% 0.081 264.8)
XYZxyz(30.4764, 30.9081, 60.2257)
Luminance0.3091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F97CA #CAB27F
analogous
#7FBDCA #7F97CA #8D7FCA
triadic
#7F97CA #CA7F97 #97CA7F
tetradic
#7F97CA #CA7FBD #CAB27F #7FCA8D
square
#7F97CA #CA7FBD #CAB27F #7FCA8D
split-complementary
#7F97CA #CA8D7F #BDCA7F
monochromatic
#3C5892 #5474B8 #7F97CA #AABADC #D6DDEE

Accessibility & contrast

On white

2.92
#7F97CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#7F97CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F97CA
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F97CA#FFFFFF#000000##000000
##7F97CA1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#869BCC
Deuteranopia (green-blind)
#7E94C9
Tritanopia (blue-blind)
#68A1A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7f97ca;
/* rgb */ color: rgb(127, 151, 202);
/* oklch */ color: oklch(67.7% 0.081 264.8);
Tailwind
colors: {
  custom: {
    50: '#a6b5da',
    500: '#7f97ca',
    950: '#000000',
  },
}
SCSS
$custom: #7f97ca;
$custom-light: #a6b5da;
$custom-dark: #000000;
JSON
{
  "hex": "#7f97ca",
  "rgb": {
    "r": 127,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 220.8,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67742,
    "c": 0.08071,
    "h": 264.8
  },
  "luminance": 0.3091
}

Semantic roles & 50–950 ramp

primary
#7F97CA
secondary
#DFD7C5
accent
#8A31B4
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#101115
muted
#7F8083

Preview Lab

Preview with #7F97CA

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

Preview Lab → · Contrast checker → · Palette generator →

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