#7FA7F7#7FA7F7

#7FA7F7 is a light, vivid blue. Relative luminance 0.389; OKLCH L 73.2% C 0.125 H 263.4°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#7FA7F7
RGBrgb(127, 167, 247)
HSLhsl(220, 88%, 73%)
HSVhsv(220, 49%, 97%)
CMYKcmyk(48.6%, 32.4%, 0%, 3.1%)
CIE-LABlab(68.65, 7.79, -44.08)
CIE-LCHlch(68.65, 44.77, 280.02°)
OKLaboklab(73.22% -0.0144 -0.124)
OKLCHoklch(73.22% 0.125 263.4)
XYZxyz(39.3541, 38.8622, 93.4051)
Luminance0.3886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA7F7 #F7CF7F
analogous
#7FE3F7 #7FA7F7 #937FF7
triadic
#7FA7F7 #F77FA7 #A7F77F
tetradic
#7FA7F7 #F77FE3 #F7CF7F #7FF793
square
#7FA7F7 #F77FE3 #F7CF7F #7FF793
split-complementary
#7FA7F7 #F7937F #E3F77F
monochromatic
#0F59ED #457FF3 #7FA7F7 #B9CFFB #E2EBFD

Accessibility & contrast

On white

2.39
#7FA7F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#7FA7F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA7F7
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA7F7#FFFFFF#000000##000000
##7FA7F71.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ADFA
Deuteranopia (green-blind)
#7BA2F5
Tritanopia (blue-blind)
#4BB8C4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fa7f7;
/* rgb */ color: rgb(127, 167, 247);
/* oklch */ color: oklch(73.2% 0.125 263.4);
Tailwind
colors: {
  custom: {
    50: '#aac0fa',
    500: '#7fa7f7',
    950: '#000000',
  },
}
SCSS
$custom: #7fa7f7;
$custom-light: #aac0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa7f7",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 247
  },
  "hsl": {
    "h": 220,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73219,
    "c": 0.12482,
    "h": 263.4
  },
  "luminance": 0.38865
}

Semantic roles & 50–950 ramp

primary
#7FA7F7
secondary
#F5EBD6
accent
#9901E5
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA7F7

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

Preview Lab → · Contrast checker → · Palette generator →

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