#7FA5E1#7FA5E1

#7FA5E1 is a light, moderate blue. Relative luminance 0.369; OKLCH L 71.8% C 0.098 H 259.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7FA5E1
RGBrgb(127, 165, 225)
HSLhsl(217, 62%, 69%)
HSVhsv(217, 44%, 88%)
CMYKcmyk(43.6%, 26.7%, 0%, 11.8%)
CIE-LABlab(67.17, 2.58, -34.36)
CIE-LCHlch(67.17, 34.46, 274.30°)
OKLaboklab(71.75% -0.0181 -0.0959)
OKLCHoklch(71.75% 0.098 259.3)
XYZxyz(35.7937, 36.8564, 76.4475)
Luminance0.3686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5E1 #E1BB7F
analogous
#7FD6E1 #7FA5E1 #8A7FE1
triadic
#7FA5E1 #E17FA5 #A5E17F
tetradic
#7FA5E1 #E17FD6 #E1BB7F #7FE18A
square
#7FA5E1 #E17FD6 #E1BB7F #7FE18A
split-complementary
#7FA5E1 #E18A7F #D6E17F
monochromatic
#2C63BA #4D82D5 #7FA5E1 #B1C8ED #E2EBF8

Accessibility & contrast

On white

2.51
#7FA5E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#7FA5E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5E1
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5E1#FFFFFF#000000##000000
##7FA5E11.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA9E4
Deuteranopia (green-blind)
#849FE0
Tritanopia (blue-blind)
#5AB2BA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa5e1;
/* rgb */ color: rgb(127, 165, 225);
/* oklch */ color: oklch(71.8% 0.098 259.3);
Tailwind
colors: {
  custom: {
    50: '#a8bfea',
    500: '#7fa5e1',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5e1;
$custom-light: #a8bfea;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5e1",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 225
  },
  "hsl": {
    "h": 216.735,
    "s": 62.025,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71752,
    "c": 0.09759,
    "h": 259.3
  },
  "luminance": 0.36859
}

Semantic roles & 50–950 ramp

primary
#7FA5E1
secondary
#ECE1D0
accent
#861CCA
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA5E1

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

Preview Lab → · Contrast checker → · Palette generator →

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