#7FA4F3#7FA4F3

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

Color values

HEX#7FA4F3
RGBrgb(127, 164, 243)
HSLhsl(221, 83%, 73%)
HSVhsv(221, 48%, 95%)
CMYKcmyk(47.7%, 32.5%, 0%, 4.7%)
CIE-LABlab(67.67, 8.32, -43.44)
CIE-LCHlch(67.67, 44.23, 280.85°)
OKLaboklab(72.4% -0.0119 -0.1221)
OKLCHoklch(72.4% 0.123 264.4)
XYZxyz(38.2002, 37.5315, 90.0080)
Luminance0.3753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4F3 #F3CE7F
analogous
#7FDEF3 #7FA4F3 #947FF3
triadic
#7FA4F3 #F37FA4 #A4F37F
tetradic
#7FA4F3 #F37FDE #F3CE7F #7FF394
square
#7FA4F3 #F37FDE #F3CE7F #7FF394
split-complementary
#7FA4F3 #F3947F #DEF37F
monochromatic
#1557E2 #477CEE #7FA4F3 #B7CCF8 #E3EBFC

Accessibility & contrast

On white

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

On black

8.51
#7FA4F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA4F3
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA4F3#FFFFFF#000000##000000
##7FA4F31.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ABF6
Deuteranopia (green-blind)
#7AA0F1
Tritanopia (blue-blind)
#4FB5C0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fa4f3;
/* rgb */ color: rgb(127, 164, 243);
/* oklch */ color: oklch(72.4% 0.123 264.4);
Tailwind
colors: {
  custom: {
    50: '#aabef7',
    500: '#7fa4f3',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4f3;
$custom-light: #aabef7;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4f3",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 243
  },
  "hsl": {
    "h": 220.862,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.724,
    "c": 0.1227,
    "h": 264.4
  },
  "luminance": 0.37534
}

Semantic roles & 50–950 ramp

primary
#7FA4F3
secondary
#F4EBD7
accent
#9A06DF
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA4F3

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

Preview Lab → · Contrast checker → · Palette generator →

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