#7F96EA#7F96EA

#7F96EA is a light, vivid blue. Relative luminance 0.323; OKLCH L 69.1% C 0.127 H 271.2°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7F96EA
RGBrgb(127, 150, 234)
HSLhsl(227, 72%, 71%)
HSVhsv(227, 46%, 92%)
CMYKcmyk(45.7%, 35.9%, 0%, 8.2%)
CIE-LABlab(63.56, 13.76, -44.96)
CIE-LCHlch(63.56, 47.02, 287.01°)
OKLaboklab(69.08% 0.0026 -0.1266)
OKLCHoklch(69.08% 0.127 271.2)
XYZxyz(34.5054, 32.2633, 82.2352)
Luminance0.3226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F96EA #EAD37F
analogous
#7FCBEA #7F96EA #9D7FEA
triadic
#7F96EA #EA7F96 #96EA7F
tetradic
#7F96EA #EA7FCB #EAD37F #7FEA9D
square
#7F96EA #EA7FCB #EAD37F #7FEA9D
split-complementary
#7F96EA #EA9D7F #CBEA7F
monochromatic
#2246CD #4A6BE1 #7F96EA #B4C1F3 #E5E9FB

Accessibility & contrast

On white

2.82
#7F96EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#7F96EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F96EA
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F96EA#FFFFFF#000000##000000
##7F96EA1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FED
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#57A7B5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7f96ea;
/* rgb */ color: rgb(127, 150, 234);
/* oklch */ color: oklch(69.1% 0.127 271.2);
Tailwind
colors: {
  custom: {
    50: '#a9b4f1',
    500: '#7f96ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f96ea;
$custom-light: #a9b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f96ea",
  "rgb": {
    "r": 127,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 227.103,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69078,
    "c": 0.12664,
    "h": 271.2
  },
  "luminance": 0.32265
}

Semantic roles & 50–950 ramp

primary
#7F96EA
secondary
#F1EBD4
accent
#AA12D4
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7F96EA

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

Preview Lab → · Contrast checker → · Palette generator →

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