#7FA4F2#7FA4F2

#7FA4F2 is a light, vivid blue. Relative luminance 0.375; OKLCH L 72.4% C 0.121 H 264.2°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7FA4F2
RGBrgb(127, 164, 242)
HSLhsl(221, 82%, 72%)
HSVhsv(221, 48%, 95%)
CMYKcmyk(47.5%, 32.2%, 0%, 5.1%)
CIE-LABlab(67.63, 8.03, -42.96)
CIE-LCHlch(67.63, 43.71, 280.59°)
OKLaboklab(72.35% -0.0122 -0.1207)
OKLCHoklch(72.35% 0.121 264.2)
XYZxyz(38.0496, 37.4713, 89.2149)
Luminance0.3747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4F2 #F2CD7F
analogous
#7FDDF2 #7FA4F2 #947FF2
triadic
#7FA4F2 #F27FA4 #A4F27F
tetradic
#7FA4F2 #F27FDD #F2CD7F #7FF294
square
#7FA4F2 #F27FDD #F2CD7F #7FF294
split-complementary
#7FA4F2 #F2947F #DDF27F
monochromatic
#1757E0 #477DEC #7FA4F2 #B7CBF8 #E3EBFC

Accessibility & contrast

On white

2.47
#7FA4F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#7FA4F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA4F2
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA4F2#FFFFFF#000000##000000
##7FA4F21.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AAF5
Deuteranopia (green-blind)
#7AA0F0
Tritanopia (blue-blind)
#50B5C0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fa4f2;
/* rgb */ color: rgb(127, 164, 242);
/* oklch */ color: oklch(72.4% 0.121 264.2);
Tailwind
colors: {
  custom: {
    50: '#a9bef6',
    500: '#7fa4f2',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4f2;
$custom-light: #a9bef6;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4f2",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 242
  },
  "hsl": {
    "h": 220.696,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72351,
    "c": 0.12135,
    "h": 264.2
  },
  "luminance": 0.37474
}

Semantic roles & 50–950 ramp

primary
#7FA4F2
secondary
#F4EBD7
accent
#9908DE
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA4F2

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

Preview Lab → · Contrast checker → · Palette generator →

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