#7FA5EF#7FA5EF

#7FA5EF is a light, moderate blue. Relative luminance 0.377; OKLCH L 72.4% C 0.116 H 263.0°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#7FA5EF
RGBrgb(127, 165, 239)
HSLhsl(220, 78%, 72%)
HSVhsv(220, 47%, 94%)
CMYKcmyk(46.9%, 31%, 0%, 6.3%)
CIE-LABlab(67.76, 6.59, -41.11)
CIE-LCHlch(67.76, 41.64, 279.11°)
OKLaboklab(72.41% -0.0141 -0.1154)
OKLCHoklch(72.41% 0.116 263)
XYZxyz(37.7824, 37.6519, 86.9213)
Luminance0.3765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5EF #EFC97F
analogous
#7FDDEF #7FA5EF #917FEF
triadic
#7FA5EF #EF7FA5 #A5EF7F
tetradic
#7FA5EF #EF7FDD #EFC97F #7FEF91
square
#7FA5EF #EF7FDD #EFC97F #7FEF91
split-complementary
#7FA5EF #EF917F #DDEF7F
monochromatic
#1B5BD9 #497FE8 #7FA5EF #B5CBF6 #E4ECFC

Accessibility & contrast

On white

2.46
#7FA5EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#7FA5EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5EF
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5EF#FFFFFF#000000##000000
##7FA5EF1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ABF2
Deuteranopia (green-blind)
#7DA0ED
Tritanopia (blue-blind)
#51B5BF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fa5ef;
/* rgb */ color: rgb(127, 165, 239);
/* oklch */ color: oklch(72.4% 0.116 263.0);
Tailwind
colors: {
  custom: {
    50: '#a9bff4',
    500: '#7fa5ef',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5ef;
$custom-light: #a9bff4;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5ef",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 239
  },
  "hsl": {
    "h": 219.643,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72412,
    "c": 0.11623,
    "h": 263
  },
  "luminance": 0.37654
}

Semantic roles & 50–950 ramp

primary
#7FA5EF
secondary
#F3E9D7
accent
#940BDA
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA5EF

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

Preview Lab → · Contrast checker → · Palette generator →

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