#7FA5DC#7FA5DC

#7FA5DC is a light, moderate blue. Relative luminance 0.366; OKLCH L 71.5% C 0.091 H 257.6°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7FA5DC
RGBrgb(127, 165, 220)
HSLhsl(215, 57%, 68%)
HSVhsv(215, 42%, 86%)
CMYKcmyk(42.3%, 25%, 0%, 13.7%)
CIE-LABlab(66.97, 1.18, -31.93)
CIE-LCHlch(66.97, 31.95, 272.12°)
OKLaboklab(71.53% -0.0196 -0.0889)
OKLCHoklch(71.53% 0.091 257.6)
XYZxyz(35.1216, 36.5876, 72.9077)
Luminance0.3659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5DC #DCB67F
analogous
#7FD3DC #7FA5DC #877FDC
triadic
#7FA5DC #DC7FA5 #A5DC7F
tetradic
#7FA5DC #DC7FD3 #DCB67F #7FDC87
square
#7FA5DC #DC7FD3 #DCB67F #7FDC87
split-complementary
#7FA5DC #DC877F #D3DC7F
monochromatic
#3065B0 #4F83CF #7FA5DC #AFC7E9 #DFE9F6

Accessibility & contrast

On white

2.52
#7FA5DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#7FA5DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5DC
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5DC#FFFFFF#000000##000000
##7FA5DC1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A8DE
Deuteranopia (green-blind)
#869FDB
Tritanopia (blue-blind)
#5DB1B8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa5dc;
/* rgb */ color: rgb(127, 165, 220);
/* oklch */ color: oklch(71.5% 0.091 257.6);
Tailwind
colors: {
  custom: {
    50: '#a8bfe7',
    500: '#7fa5dc',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5dc;
$custom-light: #a8bfe7;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5dc",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 220
  },
  "hsl": {
    "h": 215.484,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71527,
    "c": 0.09104,
    "h": 257.6
  },
  "luminance": 0.3659
}

Semantic roles & 50–950 ramp

primary
#7FA5DC
secondary
#EADECD
accent
#8221C5
background
#FAFBFE
surface
#F4F7FC
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA5DC

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

Preview Lab → · Contrast checker → · Palette generator →

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