#7FA8EF#7FA8EF

#7FA8EF is a light, moderate blue. Relative luminance 0.387; OKLCH L 73.0% C 0.113 H 261.0°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7FA8EF
RGBrgb(127, 168, 239)
HSLhsl(218, 78%, 72%)
HSVhsv(218, 47%, 94%)
CMYKcmyk(46.9%, 29.7%, 0%, 6.3%)
CIE-LABlab(68.57, 4.89, -39.86)
CIE-LCHlch(68.57, 40.15, 277.00°)
OKLaboklab(73.04% -0.0177 -0.1117)
OKLCHoklch(73.04% 0.113 261)
XYZxyz(38.3299, 38.7468, 87.1037)
Luminance0.3875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA8EF #EFC67F
analogous
#7FE0EF #7FA8EF #8E7FEF
triadic
#7FA8EF #EF7FA8 #A8EF7F
tetradic
#7FA8EF #EF7FE0 #EFC67F #7FEF8E
square
#7FA8EF #EF7FE0 #EFC67F #7FEF8E
split-complementary
#7FA8EF #EF8E7F #E0EF7F
monochromatic
#1B60D9 #4983E8 #7FA8EF #B5CDF6 #E4EDFC

Accessibility & contrast

On white

2.40
#7FA8EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#7FA8EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA8EF
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA8EF#FFFFFF#000000##000000
##7FA8EF1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DADF2
Deuteranopia (green-blind)
#81A2ED
Tritanopia (blue-blind)
#51B7C1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fa8ef;
/* rgb */ color: rgb(127, 168, 239);
/* oklch */ color: oklch(73.0% 0.113 261.0);
Tailwind
colors: {
  custom: {
    50: '#a9c1f4',
    500: '#7fa8ef',
    950: '#000000',
  },
}
SCSS
$custom: #7fa8ef;
$custom-light: #a9c1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa8ef",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 239
  },
  "hsl": {
    "h": 218.036,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73038,
    "c": 0.11312,
    "h": 261
  },
  "luminance": 0.38749
}

Semantic roles & 50–950 ramp

primary
#7FA8EF
secondary
#F3E9D7
accent
#8E0BDA
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA8EF

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

Preview Lab → · Contrast checker → · Palette generator →

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