#7FA0EB#7FA0EB

#7FA0EB is a light, moderate blue. Relative luminance 0.357; OKLCH L 71.2% C 0.116 H 265.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7FA0EB
RGBrgb(127, 160, 235)
HSLhsl(222, 73%, 71%)
HSVhsv(222, 46%, 92%)
CMYKcmyk(46%, 31.9%, 0%, 7.8%)
CIE-LABlab(66.25, 8.28, -41.29)
CIE-LCHlch(66.25, 42.11, 281.34°)
OKLaboklab(71.18% -0.0092 -0.1159)
OKLCHoklch(71.18% 0.116 265.5)
XYZxyz(36.3138, 35.6496, 83.5487)
Luminance0.3565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA0EB #EBCA7F
analogous
#7FD6EB #7FA0EB #947FEB
triadic
#7FA0EB #EB7FA0 #A0EB7F
tetradic
#7FA0EB #EB7FD6 #EBCA7F #7FEB94
square
#7FA0EB #EB7FD6 #EBCA7F #7FEB94
split-complementary
#7FA0EB #EB947F #D6EB7F
monochromatic
#2056CF #4A79E3 #7FA0EB #B4C7F3 #E5EBFB

Accessibility & contrast

On white

2.58
#7FA0EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#7FA0EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA0EB
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA0EB#FFFFFF#000000##000000
##7FA0EB1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6EE
Deuteranopia (green-blind)
#799DE9
Tritanopia (blue-blind)
#55B0BB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7fa0eb;
/* rgb */ color: rgb(127, 160, 235);
/* oklch */ color: oklch(71.2% 0.116 265.5);
Tailwind
colors: {
  custom: {
    50: '#a9bbf1',
    500: '#7fa0eb',
    950: '#000000',
  },
}
SCSS
$custom: #7fa0eb;
$custom-light: #a9bbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa0eb",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 235
  },
  "hsl": {
    "h": 221.667,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71178,
    "c": 0.11627,
    "h": 265.5
  },
  "luminance": 0.35652
}

Semantic roles & 50–950 ramp

primary
#7FA0EB
secondary
#F1E8D5
accent
#9910D5
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7FA0EB

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

Preview Lab → · Contrast checker → · Palette generator →

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