#7FA8EA#7FA8EA

#7FA8EA is a light, moderate blue. Relative luminance 0.385; OKLCH L 72.8% C 0.107 H 259.7°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7FA8EA
RGBrgb(127, 168, 234)
HSLhsl(217, 72%, 71%)
HSVhsv(217, 46%, 92%)
CMYKcmyk(45.7%, 28.2%, 0%, 8.2%)
CIE-LABlab(68.35, 3.45, -37.46)
CIE-LCHlch(68.35, 37.61, 275.26°)
OKLaboklab(72.8% -0.0191 -0.1048)
OKLCHoklch(72.8% 0.107 259.7)
XYZxyz(37.6014, 38.4554, 83.2672)
Luminance0.3846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA8EA #EAC17F
analogous
#7FDEEA #7FA8EA #8B7FEA
triadic
#7FA8EA #EA7FA8 #A8EA7F
tetradic
#7FA8EA #EA7FDE #EAC17F #7FEA8B
square
#7FA8EA #EA7FDE #EAC17F #7FEA8B
split-complementary
#7FA8EA #EA8B7F #DEEA7F
monochromatic
#2263CD #4A84E1 #7FA8EA #B4CCF3 #E5EDFB

Accessibility & contrast

On white

2.42
#7FA8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#7FA8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA8EA
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA8EA#FFFFFF#000000##000000
##7FA8EA1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FACED
Deuteranopia (green-blind)
#83A2E9
Tritanopia (blue-blind)
#54B6BF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fa8ea;
/* rgb */ color: rgb(127, 168, 234);
/* oklch */ color: oklch(72.8% 0.107 259.7);
Tailwind
colors: {
  custom: {
    50: '#a9c1f1',
    500: '#7fa8ea',
    950: '#000000',
  },
}
SCSS
$custom: #7fa8ea;
$custom-light: #a9c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa8ea",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 234
  },
  "hsl": {
    "h": 217.009,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72802,
    "c": 0.10653,
    "h": 259.7
  },
  "luminance": 0.38458
}

Semantic roles & 50–950 ramp

primary
#7FA8EA
secondary
#F1E6D4
accent
#8912D4
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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