#7FA6DD#7FA6DD

#7FA6DD is a light, moderate blue. Relative luminance 0.370; OKLCH L 71.8% C 0.091 H 257.0°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7FA6DD
RGBrgb(127, 166, 221)
HSLhsl(215, 58%, 68%)
HSVhsv(215, 43%, 87%)
CMYKcmyk(42.5%, 24.9%, 0%, 13.3%)
CIE-LABlab(67.28, 0.90, -31.99)
CIE-LCHlch(67.28, 32.01, 271.61°)
OKLaboklab(71.79% -0.0205 -0.0891)
OKLCHoklch(71.79% 0.091 257)
XYZxyz(35.4355, 37.0028, 73.6677)
Luminance0.3700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6DD #DDB67F
analogous
#7FD5DD #7FA6DD #877FDD
triadic
#7FA6DD #DD7FA6 #A6DD7F
tetradic
#7FA6DD #DD7FD5 #DDB67F #7FDD87
square
#7FA6DD #DD7FD5 #DDB67F #7FDD87
split-complementary
#7FA6DD #DD877F #D5DD7F
monochromatic
#2F66B2 #4F84D0 #7FA6DD #AFC8EA #E0E9F7

Accessibility & contrast

On white

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

On black

8.40
#7FA6DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6DD
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6DD#FFFFFF#000000##000000
##7FA6DD1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A9DF
Deuteranopia (green-blind)
#87A0DC
Tritanopia (blue-blind)
#5CB2B9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa6dd;
/* rgb */ color: rgb(127, 166, 221);
/* oklch */ color: oklch(71.8% 0.091 257.0);
Tailwind
colors: {
  custom: {
    50: '#a8c0e7',
    500: '#7fa6dd',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6dd;
$custom-light: #a8c0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6dd",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 221
  },
  "hsl": {
    "h": 215.106,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71785,
    "c": 0.09143,
    "h": 257
  },
  "luminance": 0.37005
}

Semantic roles & 50–950 ramp

primary
#7FA6DD
secondary
#EADECE
accent
#8120C6
background
#FAFBFE
surface
#F4F7FC
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA6DD

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

Preview Lab → · Contrast checker → · Palette generator →

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