#7FA4DF#7FA4DF

#7FA4DF is a light, moderate blue. Relative luminance 0.364; OKLCH L 71.4% C 0.096 H 259.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7FA4DF
RGBrgb(127, 164, 223)
HSLhsl(217, 60%, 69%)
HSVhsv(217, 43%, 87%)
CMYKcmyk(43%, 26.5%, 0%, 12.5%)
CIE-LABlab(66.82, 2.58, -33.81)
CIE-LCHlch(66.82, 33.91, 274.37°)
OKLaboklab(71.45% -0.0174 -0.0943)
OKLCHoklch(71.45% 0.096 259.5)
XYZxyz(35.3428, 36.3886, 74.9591)
Luminance0.3639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4DF #DFBA7F
analogous
#7FD4DF #7FA4DF #8A7FDF
triadic
#7FA4DF #DF7FA4 #A4DF7F
tetradic
#7FA4DF #DF7FD4 #DFBA7F #7FDF8A
square
#7FA4DF #DF7FD4 #DFBA7F #7FDF8A
split-complementary
#7FA4DF #DF8A7F #D4DF7F
monochromatic
#2E62B6 #4E81D3 #7FA4DF #B0C7EB #E1EAF7

Accessibility & contrast

On white

2.54
#7FA4DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#7FA4DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA4DF
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA4DF#FFFFFF#000000##000000
##7FA4DF1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA8E2
Deuteranopia (green-blind)
#849EDE
Tritanopia (blue-blind)
#5CB1B8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa4df;
/* rgb */ color: rgb(127, 164, 223);
/* oklch */ color: oklch(71.4% 0.096 259.5);
Tailwind
colors: {
  custom: {
    50: '#a8bee9',
    500: '#7fa4df',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4df;
$custom-light: #a8bee9;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4df",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 223
  },
  "hsl": {
    "h": 216.875,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71449,
    "c": 0.09592,
    "h": 259.5
  },
  "luminance": 0.36391
}

Semantic roles & 50–950 ramp

primary
#7FA4DF
secondary
#EBE0CF
accent
#861EC8
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA4DF

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

Preview Lab → · Contrast checker → · Palette generator →

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