#7FA7F1#7FA7F1

#7FA7F1 is a light, moderate blue. Relative luminance 0.385; OKLCH L 72.9% C 0.117 H 262.1°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7FA7F1
RGBrgb(127, 167, 241)
HSLhsl(219, 80%, 72%)
HSVhsv(219, 47%, 95%)
CMYKcmyk(47.3%, 30.7%, 0%, 5.5%)
CIE-LABlab(68.39, 6.04, -41.23)
CIE-LCHlch(68.39, 41.67, 278.33°)
OKLaboklab(72.93% -0.016 -0.1157)
OKLCHoklch(72.93% 0.117 262.1)
XYZxyz(38.4431, 38.4978, 88.6071)
Luminance0.3850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA7F1 #F1C97F
analogous
#7FE0F1 #7FA7F1 #907FF1
triadic
#7FA7F1 #F17FA7 #A7F17F
tetradic
#7FA7F1 #F17FE0 #F1C97F #7FF190
square
#7FA7F1 #F17FE0 #F1C97F #7FF190
split-complementary
#7FA7F1 #F1907F #E0F17F
monochromatic
#185DDD #4881EB #7FA7F1 #B6CDF7 #E3ECFC

Accessibility & contrast

On white

2.41
#7FA7F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#7FA7F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA7F1
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA7F1#FFFFFF#000000##000000
##7FA7F11.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BADF4
Deuteranopia (green-blind)
#7EA2EF
Tritanopia (blue-blind)
#50B7C1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fa7f1;
/* rgb */ color: rgb(127, 167, 241);
/* oklch */ color: oklch(72.9% 0.117 262.1);
Tailwind
colors: {
  custom: {
    50: '#a9c0f6',
    500: '#7fa7f1',
    950: '#000000',
  },
}
SCSS
$custom: #7fa7f1;
$custom-light: #a9c0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa7f1",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 241
  },
  "hsl": {
    "h": 218.947,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72925,
    "c": 0.11681,
    "h": 262.1
  },
  "luminance": 0.385
}

Semantic roles & 50–950 ramp

primary
#7FA7F1
secondary
#F4EAD7
accent
#9209DD
background
#FAFBFF
surface
#F4F7FE
border
#CED0D6
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA7F1

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

Preview Lab → · Contrast checker → · Palette generator →

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