#7F9FE4#7F9FE4

#7F9FE4 is a light, moderate blue. Relative luminance 0.349; OKLCH L 70.6% C 0.108 H 264.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7F9FE4
RGBrgb(127, 159, 228)
HSLhsl(221, 65%, 70%)
HSVhsv(221, 44%, 89%)
CMYKcmyk(44.3%, 30.3%, 0%, 10.6%)
CIE-LABlab(65.68, 6.84, -38.34)
CIE-LCHlch(65.68, 38.94, 280.11°)
OKLaboklab(70.63% -0.0099 -0.1074)
OKLCHoklch(70.63% 0.108 264.7)
XYZxyz(35.1496, 34.9077, 78.2695)
Luminance0.3491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9FE4 #E4C47F
analogous
#7FD2E4 #7F9FE4 #927FE4
triadic
#7F9FE4 #E47F9F #9FE47F
tetradic
#7F9FE4 #E47FD2 #E4C47F #7FE492
square
#7F9FE4 #E47FD2 #E4C47F #7FE492
split-complementary
#7F9FE4 #E4927F #D2E47F
monochromatic
#2959C0 #4C79D9 #7F9FE4 #B2C5EF #E4EBF9

Accessibility & contrast

On white

2.63
#7F9FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#7F9FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F9FE4
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9FE4#FFFFFF#000000##000000
##7F9FE41.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A5E7
Deuteranopia (green-blind)
#7B9BE2
Tritanopia (blue-blind)
#5AAEB8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7f9fe4;
/* rgb */ color: rgb(127, 159, 228);
/* oklch */ color: oklch(70.6% 0.108 264.7);
Tailwind
colors: {
  custom: {
    50: '#a8bbec',
    500: '#7f9fe4',
    950: '#000000',
  },
}
SCSS
$custom: #7f9fe4;
$custom-light: #a8bbec;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9fe4",
  "rgb": {
    "r": 127,
    "g": 159,
    "b": 228
  },
  "hsl": {
    "h": 220.99,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7063,
    "c": 0.10782,
    "h": 264.7
  },
  "luminance": 0.3491
}

Semantic roles & 50–950 ramp

primary
#7F9FE4
secondary
#EEE5D1
accent
#9419CD
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7F9FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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