#7FA5FB#7FA5FB

#7FA5FB is a light, vivid blue. Relative luminance 0.384; OKLCH L 73.0% C 0.132 H 265.2°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7FA5FB
RGBrgb(127, 165, 251)
HSLhsl(222, 94%, 74%)
HSVhsv(222, 49%, 98%)
CMYKcmyk(49.4%, 34.3%, 0%, 1.6%)
CIE-LABlab(68.30, 10.11, -46.81)
CIE-LCHlch(68.30, 47.89, 282.19°)
OKLaboklab(73.01% -0.0111 -0.1319)
OKLCHoklch(73.01% 0.132 265.2)
XYZxyz(39.6144, 38.3847, 96.5696)
Luminance0.3839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5FB #FBD57F
analogous
#7FE3FB #7FA5FB #977FFB
triadic
#7FA5FB #FB7FA5 #A5FB7F
tetradic
#7FA5FB #FB7FE3 #FBD57F #7FFB97
square
#7FA5FB #FB7FE3 #FBD57F #7FFB97
split-complementary
#7FA5FB #FB977F #E3FB7F
monochromatic
#0852F7 #447BF9 #7FA5FB #BACFFD #E1EAFE

Accessibility & contrast

On white

2.42
#7FA5FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#7FA5FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5FB
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5FB#FFFFFF#000000##000000
##7FA5FB1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ADFF
Deuteranopia (green-blind)
#76A1F9
Tritanopia (blue-blind)
#48B7C4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fa5fb;
/* rgb */ color: rgb(127, 165, 251);
/* oklch */ color: oklch(73.0% 0.132 265.2);
Tailwind
colors: {
  custom: {
    50: '#aabffd',
    500: '#7fa5fb',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5fb;
$custom-light: #aabffd;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5fb",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 251
  },
  "hsl": {
    "h": 221.613,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73008,
    "c": 0.13237,
    "h": 265.2
  },
  "luminance": 0.38387
}

Semantic roles & 50–950 ramp

primary
#7FA5FB
secondary
#F6ECD5
accent
#9F00E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA5FB

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

Preview Lab → · Contrast checker → · Palette generator →

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