#7FA4E6#7FA4E6

#7FA4E6 is a light, moderate blue. Relative luminance 0.368; OKLCH L 71.8% C 0.105 H 261.6°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7FA4E6
RGBrgb(127, 164, 230)
HSLhsl(218, 67%, 70%)
HSVhsv(218, 45%, 90%)
CMYKcmyk(44.8%, 28.7%, 0%, 9.8%)
CIE-LABlab(67.11, 4.57, -37.21)
CIE-LCHlch(67.11, 37.49, 277.00°)
OKLaboklab(71.77% -0.0154 -0.1041)
OKLCHoklch(71.77% 0.105 261.6)
XYZxyz(36.3061, 36.7739, 80.0325)
Luminance0.3678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4E6 #E6C17F
analogous
#7FD7E6 #7FA4E6 #8E7FE6
triadic
#7FA4E6 #E67FA4 #A4E67F
tetradic
#7FA4E6 #E67FD7 #E6C17F #7FE68E
square
#7FA4E6 #E67FD7 #E6C17F #7FE68E
split-complementary
#7FA4E6 #E68E7F #D7E67F
monochromatic
#265FC4 #4C80DC #7FA4E6 #B2C8F0 #E5EDFA

Accessibility & contrast

On white

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

On black

8.36
#7FA4E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA4E6
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA4E6#FFFFFF#000000##000000
##7FA4E61.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA9E9
Deuteranopia (green-blind)
#809FE5
Tritanopia (blue-blind)
#58B2BB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa4e6;
/* rgb */ color: rgb(127, 164, 230);
/* oklch */ color: oklch(71.8% 0.105 261.6);
Tailwind
colors: {
  custom: {
    50: '#a8beee',
    500: '#7fa4e6',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4e6;
$custom-light: #a8beee;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4e6",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 230
  },
  "hsl": {
    "h": 218.447,
    "s": 67.32,
    "l": 70
  },
  "oklch": {
    "l": 0.71773,
    "c": 0.10522,
    "h": 261.6
  },
  "luminance": 0.36776
}

Semantic roles & 50–950 ramp

primary
#7FA4E6
secondary
#EFE4D2
accent
#8D16CF
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA4E6

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

Preview Lab → · Contrast checker → · Palette generator →

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