#7F96CC#7F96CC

#7F96CC is a light, moderate blue. Relative luminance 0.307; OKLCH L 67.6% C 0.085 H 266.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7F96CC
RGBrgb(127, 150, 204)
HSLhsl(222, 43%, 65%)
HSVhsv(222, 38%, 80%)
CMYKcmyk(37.7%, 26.5%, 0%, 20%)
CIE-LABlab(62.24, 5.28, -30.36)
CIE-LCHlch(62.24, 30.82, 279.86°)
OKLaboklab(67.62% -0.0053 -0.0844)
OKLCHoklch(67.62% 0.085 266.4)
XYZxyz(30.5545, 30.6829, 61.4275)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F96CC #CCB57F
analogous
#7FBDCC #7F96CC #8F7FCC
triadic
#7F96CC #CC7F96 #96CC7F
tetradic
#7F96CC #CC7FBD #CCB57F #7FCC8F
square
#7F96CC #CC7FBD #CCB57F #7FCC8F
split-complementary
#7F96CC #CC8F7F #BDCC7F
monochromatic
#3B5695 #5372BB #7F96CC #ABBADD #D7DEEF

Accessibility & contrast

On white

2.94
#7F96CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#7F96CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F96CC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F96CC#FFFFFF#000000##000000
##7F96CC1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#849ACE
Deuteranopia (green-blind)
#7C93CB
Tritanopia (blue-blind)
#67A1A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7f96cc;
/* rgb */ color: rgb(127, 150, 204);
/* oklch */ color: oklch(67.6% 0.085 266.4);
Tailwind
colors: {
  custom: {
    50: '#a6b4db',
    500: '#7f96cc',
    950: '#000000',
  },
}
SCSS
$custom: #7f96cc;
$custom-light: #a6b4db;
$custom-dark: #000000;
JSON
{
  "hex": "#7f96cc",
  "rgb": {
    "r": 127,
    "g": 150,
    "b": 204
  },
  "hsl": {
    "h": 222.078,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6762,
    "c": 0.0846,
    "h": 266.4
  },
  "luminance": 0.30684
}

Semantic roles & 50–950 ramp

primary
#7F96CC
secondary
#E1D9C6
accent
#8E2FB6
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #7F96CC

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

Preview Lab → · Contrast checker → · Palette generator →

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