#7FA5E7#7FA5E7

#7FA5E7 is a light, moderate blue. Relative luminance 0.372; OKLCH L 72.0% C 0.106 H 261.1°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7FA5E7
RGBrgb(127, 165, 231)
HSLhsl(218, 68%, 70%)
HSVhsv(218, 45%, 91%)
CMYKcmyk(45%, 28.6%, 0%, 9.4%)
CIE-LABlab(67.42, 4.29, -37.27)
CIE-LCHlch(67.42, 37.52, 276.56°)
OKLaboklab(72.03% -0.0163 -0.1043)
OKLCHoklch(72.03% 0.106 261.1)
XYZxyz(36.6266, 37.1896, 80.8341)
Luminance0.3719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5E7 #E7C17F
analogous
#7FD9E7 #7FA5E7 #8D7FE7
triadic
#7FA5E7 #E77FA5 #A5E77F
tetradic
#7FA5E7 #E77FD9 #E7C17F #7FE78D
square
#7FA5E7 #E77FD9 #E7C17F #7FE78D
split-complementary
#7FA5E7 #E78D7F #D9E77F
monochromatic
#2560C6 #4B81DD #7FA5E7 #B3C9F1 #E5EDFA

Accessibility & contrast

On white

2.49
#7FA5E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#7FA5E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5E7
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5E7#FFFFFF#000000##000000
##7FA5E71.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAAEA
Deuteranopia (green-blind)
#81A0E6
Tritanopia (blue-blind)
#57B3BC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa5e7;
/* rgb */ color: rgb(127, 165, 231);
/* oklch */ color: oklch(72.0% 0.106 261.1);
Tailwind
colors: {
  custom: {
    50: '#a8bfef',
    500: '#7fa5e7',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5e7;
$custom-light: #a8bfef;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5e7",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 231
  },
  "hsl": {
    "h": 218.077,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7203,
    "c": 0.10554,
    "h": 261.1
  },
  "luminance": 0.37192
}

Semantic roles & 50–950 ramp

primary
#7FA5E7
secondary
#EFE5D2
accent
#8C15D0
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA5E7

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

Preview Lab → · Contrast checker → · Palette generator →

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