#7F95EB#7F95EB

#7F95EB is a light, vivid blue. Relative luminance 0.320; OKLCH L 68.9% C 0.129 H 271.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7F95EB
RGBrgb(127, 149, 235)
HSLhsl(228, 73%, 71%)
HSVhsv(228, 46%, 92%)
CMYKcmyk(46%, 36.6%, 0%, 7.8%)
CIE-LABlab(63.35, 14.63, -45.85)
CIE-LCHlch(63.35, 48.13, 287.69°)
OKLaboklab(68.93% 0.004 -0.1292)
OKLCHoklch(68.93% 0.129 271.8)
XYZxyz(34.4905, 32.0031, 82.9410)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F95EB #EBD57F
analogous
#7FCBEB #7F95EB #9F7FEB
triadic
#7F95EB #EB7F95 #95EB7F
tetradic
#7F95EB #EB7FCB #EBD57F #7FEB9F
square
#7F95EB #EB7FCB #EBD57F #7FEB9F
split-complementary
#7F95EB #EB9F7F #CBEB7F
monochromatic
#2044CF #4A69E3 #7F95EB #B4C1F3 #E5E9FB

Accessibility & contrast

On white

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

On black

7.40
#7F95EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F95EB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F95EB#FFFFFF#000000##000000
##7F95EB1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEE
Deuteranopia (green-blind)
#6B95E9
Tritanopia (blue-blind)
#57A7B5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7f95eb;
/* rgb */ color: rgb(127, 149, 235);
/* oklch */ color: oklch(68.9% 0.129 271.8);
Tailwind
colors: {
  custom: {
    50: '#a9b3f2',
    500: '#7f95eb',
    950: '#000000',
  },
}
SCSS
$custom: #7f95eb;
$custom-light: #a9b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f95eb",
  "rgb": {
    "r": 127,
    "g": 149,
    "b": 235
  },
  "hsl": {
    "h": 227.778,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68929,
    "c": 0.12927,
    "h": 271.8
  },
  "luminance": 0.32005
}

Semantic roles & 50–950 ramp

primary
#7F95EB
secondary
#F1EBD5
accent
#AD10D5
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7F95EB

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

Preview Lab → · Contrast checker → · Palette generator →

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