#7FA5EE#7FA5EE

#7FA5EE is a light, moderate blue. Relative luminance 0.376; OKLCH L 72.4% C 0.115 H 262.8°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7FA5EE
RGBrgb(127, 165, 238)
HSLhsl(219, 77%, 72%)
HSVhsv(219, 47%, 93%)
CMYKcmyk(46.6%, 30.7%, 0%, 6.7%)
CIE-LABlab(67.72, 6.30, -40.63)
CIE-LCHlch(67.72, 41.12, 278.81°)
OKLaboklab(72.36% -0.0144 -0.114)
OKLCHoklch(72.36% 0.115 262.8)
XYZxyz(37.6351, 37.5930, 86.1454)
Luminance0.3760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5EE #EEC87F
analogous
#7FDDEE #7FA5EE #917FEE
triadic
#7FA5EE #EE7FA5 #A5EE7F
tetradic
#7FA5EE #EE7FDD #EEC87F #7FEE91
square
#7FA5EE #EE7FDD #EEC87F #7FEE91
split-complementary
#7FA5EE #EE917F #DDEE7F
monochromatic
#1C5CD6 #497FE7 #7FA5EE #B5CBF5 #E4ECFB

Accessibility & contrast

On white

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

On black

8.52
#7FA5EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5EE
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5EE#FFFFFF#000000##000000
##7FA5EE1.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AABF1
Deuteranopia (green-blind)
#7EA0EC
Tritanopia (blue-blind)
#52B5BF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fa5ee;
/* rgb */ color: rgb(127, 165, 238);
/* oklch */ color: oklch(72.4% 0.115 262.8);
Tailwind
colors: {
  custom: {
    50: '#a9bff4',
    500: '#7fa5ee',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5ee;
$custom-light: #a9bff4;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5ee",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 238
  },
  "hsl": {
    "h": 219.459,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72363,
    "c": 0.1149,
    "h": 262.8
  },
  "luminance": 0.37595
}

Semantic roles & 50–950 ramp

primary
#7FA5EE
secondary
#F3E9D6
accent
#930DD9
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA5EE

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

Preview Lab → · Contrast checker → · Palette generator →

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