#7F97EA#7F97EA

#7F97EA is a light, vivid blue. Relative luminance 0.326; OKLCH L 69.3% C 0.125 H 270.6°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7F97EA
RGBrgb(127, 151, 234)
HSLhsl(227, 72%, 71%)
HSVhsv(227, 46%, 92%)
CMYKcmyk(45.7%, 35.5%, 0%, 8.2%)
CIE-LABlab(63.82, 13.17, -44.55)
CIE-LCHlch(63.82, 46.46, 286.47°)
OKLaboklab(69.28% 0.0014 -0.1254)
OKLCHoklch(69.28% 0.125 270.6)
XYZxyz(34.6656, 32.5838, 82.2886)
Luminance0.3259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F97EA #EAD27F
analogous
#7FCCEA #7F97EA #9C7FEA
triadic
#7F97EA #EA7F97 #97EA7F
tetradic
#7F97EA #EA7FCC #EAD27F #7FEA9C
square
#7F97EA #EA7FCC #EAD27F #7FEA9C
split-complementary
#7F97EA #EA9C7F #CCEA7F
monochromatic
#2248CD #4A6CE1 #7F97EA #B4C2F3 #E5EAFB

Accessibility & contrast

On white

2.79
#7F97EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#7F97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F97EA
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F97EA#FFFFFF#000000##000000
##7F97EA1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0ED
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#57A8B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7f97ea;
/* rgb */ color: rgb(127, 151, 234);
/* oklch */ color: oklch(69.3% 0.125 270.6);
Tailwind
colors: {
  custom: {
    50: '#a9b5f1',
    500: '#7f97ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f97ea;
$custom-light: #a9b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f97ea",
  "rgb": {
    "r": 127,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 226.542,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69281,
    "c": 0.12542,
    "h": 270.6
  },
  "luminance": 0.32586
}

Semantic roles & 50–950 ramp

primary
#7F97EA
secondary
#F1EAD4
accent
#A812D4
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7F97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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