#7FA8ED#7FA8ED

#7FA8ED is a light, moderate blue. Relative luminance 0.386; OKLCH L 72.9% C 0.110 H 260.5°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7FA8ED
RGBrgb(127, 168, 237)
HSLhsl(218, 75%, 71%)
HSVhsv(218, 46%, 93%)
CMYKcmyk(46.4%, 29.1%, 0%, 7.1%)
CIE-LABlab(68.48, 4.31, -38.90)
CIE-LCHlch(68.48, 39.14, 276.33°)
OKLaboklab(72.94% -0.0183 -0.109)
OKLCHoklch(72.94% 0.11 260.5)
XYZxyz(38.0361, 38.6293, 85.5563)
Luminance0.3863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA8ED #EDC47F
analogous
#7FDFED #7FA8ED #8D7FED
triadic
#7FA8ED #ED7FA8 #A8ED7F
tetradic
#7FA8ED #ED7FDF #EDC47F #7FED8D
square
#7FA8ED #ED7FDF #EDC47F #7FED8D
split-complementary
#7FA8ED #ED8D7F #DFED7F
monochromatic
#1E62D4 #4984E5 #7FA8ED #B5CCF5 #E4EDFB

Accessibility & contrast

On white

2.41
#7FA8ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#7FA8ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA8ED
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA8ED#FFFFFF#000000##000000
##7FA8ED1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EADF0
Deuteranopia (green-blind)
#82A2EC
Tritanopia (blue-blind)
#52B7C0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fa8ed;
/* rgb */ color: rgb(127, 168, 237);
/* oklch */ color: oklch(72.9% 0.110 260.5);
Tailwind
colors: {
  custom: {
    50: '#a9c1f3',
    500: '#7fa8ed',
    950: '#000000',
  },
}
SCSS
$custom: #7fa8ed;
$custom-light: #a9c1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa8ed",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 237
  },
  "hsl": {
    "h": 217.636,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72943,
    "c": 0.11048,
    "h": 260.5
  },
  "luminance": 0.38632
}

Semantic roles & 50–950 ramp

primary
#7FA8ED
secondary
#F2E8D6
accent
#8C0ED8
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA8ED

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

Preview Lab → · Contrast checker → · Palette generator →

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