#7FA2FB#7FA2FB

#7FA2FB is a light, vivid blue. Relative luminance 0.373; OKLCH L 72.4% C 0.136 H 266.8°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7FA2FB
RGBrgb(127, 162, 251)
HSLhsl(223, 94%, 74%)
HSVhsv(223, 49%, 98%)
CMYKcmyk(49.4%, 35.5%, 0%, 1.6%)
CIE-LABlab(67.51, 11.83, -48.05)
CIE-LCHlch(67.51, 49.49, 283.83°)
OKLaboklab(72.4% -0.0077 -0.1355)
OKLCHoklch(72.4% 0.136 266.8)
XYZxyz(39.0796, 37.3151, 96.3913)
Luminance0.3732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2FB #FBD87F
analogous
#7FE0FB #7FA2FB #9A7FFB
triadic
#7FA2FB #FB7FA2 #A2FB7F
tetradic
#7FA2FB #FB7FE0 #FBD87F #7FFB9A
square
#7FA2FB #FB7FE0 #FBD87F #7FFB9A
split-complementary
#7FA2FB #FB9A7F #E0FB7F
monochromatic
#084CF7 #4477F9 #7FA2FB #BACDFD #E1E9FE

Accessibility & contrast

On white

2.48
#7FA2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#7FA2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2FB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2FB#FFFFFF#000000##000000
##7FA2FB1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFF
Deuteranopia (green-blind)
#729FF9
Tritanopia (blue-blind)
#49B5C3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa2fb;
/* rgb */ color: rgb(127, 162, 251);
/* oklch */ color: oklch(72.4% 0.136 266.8);
Tailwind
colors: {
  custom: {
    50: '#aabdfd',
    500: '#7fa2fb',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2fb;
$custom-light: #aabdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2fb",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 223.065,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72396,
    "c": 0.13576,
    "h": 266.8
  },
  "luminance": 0.37318
}

Semantic roles & 50–950 ramp

primary
#7FA2FB
secondary
#F6EDD5
accent
#A500E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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