#7FA1EF#7FA1EF

#7FA1EF is a light, vivid blue. Relative luminance 0.362; OKLCH L 71.6% C 0.121 H 265.5°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7FA1EF
RGBrgb(127, 161, 239)
HSLhsl(222, 78%, 72%)
HSVhsv(222, 47%, 94%)
CMYKcmyk(46.9%, 32.6%, 0%, 6.3%)
CIE-LABlab(66.70, 8.87, -42.78)
CIE-LCHlch(66.70, 43.69, 281.71°)
OKLaboklab(71.58% -0.0094 -0.1202)
OKLCHoklch(71.58% 0.121 265.5)
XYZxyz(37.0722, 36.2314, 86.6845)
Luminance0.3623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA1EF #EFCD7F
analogous
#7FD9EF #7FA1EF #957FEF
triadic
#7FA1EF #EF7FA1 #A1EF7F
tetradic
#7FA1EF #EF7FD9 #EFCD7F #7FEF95
square
#7FA1EF #EF7FD9 #EFCD7F #7FEF95
split-complementary
#7FA1EF #EF957F #D9EF7F
monochromatic
#1B55D9 #4979E8 #7FA1EF #B5C9F6 #E4EBFC

Accessibility & contrast

On white

2.55
#7FA1EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#7FA1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA1EF
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA1EF#FFFFFF#000000##000000
##7FA1EF1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F2
Deuteranopia (green-blind)
#789EED
Tritanopia (blue-blind)
#52B2BD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fa1ef;
/* rgb */ color: rgb(127, 161, 239);
/* oklch */ color: oklch(71.6% 0.121 265.5);
Tailwind
colors: {
  custom: {
    50: '#a9bcf4',
    500: '#7fa1ef',
    950: '#000000',
  },
}
SCSS
$custom: #7fa1ef;
$custom-light: #a9bcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa1ef",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 239
  },
  "hsl": {
    "h": 221.786,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71582,
    "c": 0.1206,
    "h": 265.5
  },
  "luminance": 0.36234
}

Semantic roles & 50–950 ramp

primary
#7FA1EF
secondary
#F3EAD7
accent
#9B0BDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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