#7FA5DD#7FA5DD

#7FA5DD is a light, moderate blue. Relative luminance 0.366; OKLCH L 71.6% C 0.092 H 257.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7FA5DD
RGBrgb(127, 165, 221)
HSLhsl(216, 58%, 68%)
HSVhsv(216, 43%, 87%)
CMYKcmyk(42.5%, 25.3%, 0%, 13.3%)
CIE-LABlab(67.01, 1.46, -32.41)
CIE-LCHlch(67.01, 32.45, 272.58°)
OKLaboklab(71.57% -0.0193 -0.0903)
OKLCHoklch(71.57% 0.092 257.9)
XYZxyz(35.2545, 36.6407, 73.6073)
Luminance0.3664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5DD #DDB77F
analogous
#7FD4DD #7FA5DD #887FDD
triadic
#7FA5DD #DD7FA5 #A5DD7F
tetradic
#7FA5DD #DD7FD4 #DDB77F #7FDD88
square
#7FA5DD #DD7FD4 #DDB77F #7FDD88
split-complementary
#7FA5DD #DD887F #D4DD7F
monochromatic
#2F64B2 #4F83D0 #7FA5DD #AFC7EA #E0E9F7

Accessibility & contrast

On white

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

On black

8.33
#7FA5DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5DD
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5DD#FFFFFF#000000##000000
##7FA5DD1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A8E0
Deuteranopia (green-blind)
#869FDC
Tritanopia (blue-blind)
#5DB1B8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa5dd;
/* rgb */ color: rgb(127, 165, 221);
/* oklch */ color: oklch(71.6% 0.092 257.9);
Tailwind
colors: {
  custom: {
    50: '#a8bfe7',
    500: '#7fa5dd',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5dd;
$custom-light: #a8bfe7;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5dd",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 221
  },
  "hsl": {
    "h": 215.745,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71572,
    "c": 0.09235,
    "h": 257.9
  },
  "luminance": 0.36643
}

Semantic roles & 50–950 ramp

primary
#7FA5DD
secondary
#EADFCE
accent
#8320C6
background
#FAFBFE
surface
#F4F7FC
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA5DD

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

Preview Lab → · Contrast checker → · Palette generator →

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