#7FA0EA#7FA0EA

#7FA0EA is a light, moderate blue. Relative luminance 0.356; OKLCH L 71.1% C 0.115 H 265.3°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7FA0EA
RGBrgb(127, 160, 234)
HSLhsl(221, 72%, 71%)
HSVhsv(221, 46%, 92%)
CMYKcmyk(45.7%, 31.6%, 0%, 8.2%)
CIE-LABlab(66.21, 7.99, -40.81)
CIE-LCHlch(66.21, 41.58, 281.08°)
OKLaboklab(71.13% -0.0095 -0.1145)
OKLCHoklch(71.13% 0.115 265.3)
XYZxyz(36.1697, 35.5920, 82.7900)
Luminance0.3559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA0EA #EAC97F
analogous
#7FD6EA #7FA0EA #937FEA
triadic
#7FA0EA #EA7FA0 #A0EA7F
tetradic
#7FA0EA #EA7FD6 #EAC97F #7FEA93
square
#7FA0EA #EA7FD6 #EAC97F #7FEA93
split-complementary
#7FA0EA #EA937F #D6EA7F
monochromatic
#2256CD #4A79E1 #7FA0EA #B4C7F3 #E5EBFB

Accessibility & contrast

On white

2.59
#7FA0EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#7FA0EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA0EA
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA0EA#FFFFFF#000000##000000
##7FA0EA1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A6ED
Deuteranopia (green-blind)
#7A9DE8
Tritanopia (blue-blind)
#56B0BB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7fa0ea;
/* rgb */ color: rgb(127, 160, 234);
/* oklch */ color: oklch(71.1% 0.115 265.3);
Tailwind
colors: {
  custom: {
    50: '#a9bbf1',
    500: '#7fa0ea',
    950: '#000000',
  },
}
SCSS
$custom: #7fa0ea;
$custom-light: #a9bbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa0ea",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 234
  },
  "hsl": {
    "h": 221.495,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71129,
    "c": 0.1149,
    "h": 265.3
  },
  "luminance": 0.35594
}

Semantic roles & 50–950 ramp

primary
#7FA0EA
secondary
#F1E8D4
accent
#9812D4
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7FA0EA

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

Preview Lab → · Contrast checker → · Palette generator →

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