#7FA5FE#7FA5FE

#7FA5FE is a light, vivid blue. Relative luminance 0.386; OKLCH L 73.2% C 0.136 H 265.6°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#7FA5FE
RGBrgb(127, 165, 254)
HSLhsl(222, 98%, 75%)
HSVhsv(222, 50%, 100%)
CMYKcmyk(50%, 35%, 0%, 0.4%)
CIE-LABlab(68.44, 11.00, -48.22)
CIE-LCHlch(68.44, 49.46, 282.85°)
OKLaboklab(73.16% -0.0104 -0.136)
OKLCHoklch(73.16% 0.136 265.6)
XYZxyz(40.0910, 38.5753, 99.0799)
Luminance0.3858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5FE #FED87F
analogous
#7FE5FE #7FA5FE #987FFE
triadic
#7FA5FE #FE7FA5 #A5FE7F
tetradic
#7FA5FE #FE7FE5 #FED87F #7FFE98
square
#7FA5FE #FE7FE5 #FED87F #7FFE98
split-complementary
#7FA5FE #FE987F #E5FE7F
monochromatic
#0650FD #427AFE #7FA5FE #BCD0FE #E1EAFF

Accessibility & contrast

On white

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

On black

8.72
#7FA5FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5FE
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5FE#FFFFFF#000000##000000
##7FA5FE1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#74A2FC
Tritanopia (blue-blind)
#46B8C6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fa5fe;
/* rgb */ color: rgb(127, 165, 254);
/* oklch */ color: oklch(73.2% 0.136 265.6);
Tailwind
colors: {
  custom: {
    50: '#abbfff',
    500: '#7fa5fe',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5fe;
$custom-light: #abbfff;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5fe",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 254
  },
  "hsl": {
    "h": 222.047,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73162,
    "c": 0.13641,
    "h": 265.6
  },
  "luminance": 0.38578
}

Semantic roles & 50–950 ramp

primary
#7FA5FE
secondary
#F7EDD4
accent
#A100E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111218
muted
#808186

Preview Lab

Preview with #7FA5FE

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

Preview Lab → · Contrast checker → · Palette generator →

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