#7FA0EE#7FA0EE

#7FA0EE is a light, vivid blue. Relative luminance 0.358; OKLCH L 71.3% C 0.120 H 266.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7FA0EE
RGBrgb(127, 160, 238)
HSLhsl(222, 77%, 72%)
HSVhsv(222, 47%, 93%)
CMYKcmyk(46.6%, 32.8%, 0%, 6.7%)
CIE-LABlab(66.39, 9.15, -42.72)
CIE-LCHlch(66.39, 43.69, 282.09°)
OKLaboklab(71.33% -0.0085 -0.1201)
OKLCHoklch(71.33% 0.12 266)
XYZxyz(36.7508, 35.8244, 85.8506)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA0EE #EECD7F
analogous
#7FD8EE #7FA0EE #967FEE
triadic
#7FA0EE #EE7FA0 #A0EE7F
tetradic
#7FA0EE #EE7FD8 #EECD7F #7FEE96
square
#7FA0EE #EE7FD8 #EECD7F #7FEE96
split-complementary
#7FA0EE #EE967F #D8EE7F
monochromatic
#1C54D6 #4978E7 #7FA0EE #B5C8F5 #E4EBFB

Accessibility & contrast

On white

2.57
#7FA0EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#7FA0EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA0EE
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA0EE#FFFFFF#000000##000000
##7FA0EE1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F1
Deuteranopia (green-blind)
#779DEC
Tritanopia (blue-blind)
#53B0BC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7fa0ee;
/* rgb */ color: rgb(127, 160, 238);
/* oklch */ color: oklch(71.3% 0.120 266.0);
Tailwind
colors: {
  custom: {
    50: '#a9bbf4',
    500: '#7fa0ee',
    950: '#000000',
  },
}
SCSS
$custom: #7fa0ee;
$custom-light: #a9bbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa0ee",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 238
  },
  "hsl": {
    "h": 222.162,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71326,
    "c": 0.12036,
    "h": 266
  },
  "luminance": 0.35827
}

Semantic roles & 50–950 ramp

primary
#7FA0EE
secondary
#F3EAD6
accent
#9C0DD9
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7FA0EE

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

Preview Lab → · Contrast checker → · Palette generator →

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