#7FA5E5#7FA5E5

#7FA5E5 is a light, moderate blue. Relative luminance 0.371; OKLCH L 71.9% C 0.103 H 260.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7FA5E5
RGBrgb(127, 165, 229)
HSLhsl(218, 66%, 70%)
HSVhsv(218, 45%, 90%)
CMYKcmyk(44.5%, 27.9%, 0%, 10.2%)
CIE-LABlab(67.33, 3.72, -36.30)
CIE-LCHlch(67.33, 36.49, 275.84°)
OKLaboklab(71.94% -0.0169 -0.1015)
OKLCHoklch(71.94% 0.103 260.5)
XYZxyz(36.3458, 37.0772, 79.3550)
Luminance0.3708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5E5 #E5BF7F
analogous
#7FD8E5 #7FA5E5 #8C7FE5
triadic
#7FA5E5 #E57FA5 #A5E57F
tetradic
#7FA5E5 #E57FD8 #E5BF7F #7FE58C
square
#7FA5E5 #E57FD8 #E5BF7F #7FE58C
split-complementary
#7FA5E5 #E58C7F #D8E57F
monochromatic
#2761C2 #4C81DB #7FA5E5 #B2C9EF #E5EDFA

Accessibility & contrast

On white

2.50
#7FA5E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#7FA5E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5E5
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5E5#FFFFFF#000000##000000
##7FA5E51.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA9E8
Deuteranopia (green-blind)
#82A0E4
Tritanopia (blue-blind)
#58B3BB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa5e5;
/* rgb */ color: rgb(127, 165, 229);
/* oklch */ color: oklch(71.9% 0.103 260.5);
Tailwind
colors: {
  custom: {
    50: '#a8bfed',
    500: '#7fa5e5',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5e5;
$custom-light: #a8bfed;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5e5",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 229
  },
  "hsl": {
    "h": 217.647,
    "s": 66.234,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71937,
    "c": 0.10288,
    "h": 260.5
  },
  "luminance": 0.37079
}

Semantic roles & 50–950 ramp

primary
#7FA5E5
secondary
#EEE4D1
accent
#8A17CE
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA5E5

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

Preview Lab → · Contrast checker → · Palette generator →

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