#7F95EA#7F95EA

#7F95EA is a light, vivid blue. Relative luminance 0.319; OKLCH L 68.9% C 0.128 H 271.7°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7F95EA
RGBrgb(127, 149, 234)
HSLhsl(228, 72%, 71%)
HSVhsv(228, 46%, 92%)
CMYKcmyk(45.7%, 36.3%, 0%, 8.2%)
CIE-LABlab(63.30, 14.34, -45.38)
CIE-LCHlch(63.30, 47.59, 287.53°)
OKLaboklab(68.88% 0.0038 -0.1278)
OKLCHoklch(68.88% 0.128 271.7)
XYZxyz(34.3465, 31.9455, 82.1822)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F95EA #EAD47F
analogous
#7FCAEA #7F95EA #9E7FEA
triadic
#7F95EA #EA7F95 #95EA7F
tetradic
#7F95EA #EA7FCA #EAD47F #7FEA9E
square
#7F95EA #EA7FCA #EAD47F #7FEA9E
split-complementary
#7F95EA #EA9E7F #CAEA7F
monochromatic
#2245CD #4A69E1 #7F95EA #B4C1F3 #E5E9FB

Accessibility & contrast

On white

2.84
#7F95EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#7F95EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F95EA
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F95EA#FFFFFF#000000##000000
##7F95EA1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#769EED
Deuteranopia (green-blind)
#6C95E8
Tritanopia (blue-blind)
#57A7B4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7f95ea;
/* rgb */ color: rgb(127, 149, 234);
/* oklch */ color: oklch(68.9% 0.128 271.7);
Tailwind
colors: {
  custom: {
    50: '#a9b3f1',
    500: '#7f95ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f95ea;
$custom-light: #a9b3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f95ea",
  "rgb": {
    "r": 127,
    "g": 149,
    "b": 234
  },
  "hsl": {
    "h": 227.664,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68876,
    "c": 0.12788,
    "h": 271.7
  },
  "luminance": 0.31947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F95EA

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

Preview Lab → · Contrast checker → · Palette generator →

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