#7FA0EF#7FA0EF

#7FA0EF is a light, vivid blue. Relative luminance 0.359; OKLCH L 71.4% C 0.122 H 266.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7FA0EF
RGBrgb(127, 160, 239)
HSLhsl(222, 78%, 72%)
HSVhsv(222, 47%, 94%)
CMYKcmyk(46.9%, 33.1%, 0%, 6.3%)
CIE-LABlab(66.43, 9.44, -43.20)
CIE-LCHlch(66.43, 44.22, 282.33°)
OKLaboklab(71.38% -0.0082 -0.1214)
OKLCHoklch(71.38% 0.122 266.1)
XYZxyz(36.8982, 35.8833, 86.6265)
Luminance0.3589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA0EF #EFCE7F
analogous
#7FD8EF #7FA0EF #967FEF
triadic
#7FA0EF #EF7FA0 #A0EF7F
tetradic
#7FA0EF #EF7FD8 #EFCE7F #7FEF96
square
#7FA0EF #EF7FD8 #EFCE7F #7FEF96
split-complementary
#7FA0EF #EF967F #D8EF7F
monochromatic
#1B53D9 #4978E8 #7FA0EF #B5C8F6 #E4EBFC

Accessibility & contrast

On white

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

On black

8.18
#7FA0EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA0EF
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA0EF#FFFFFF#000000##000000
##7FA0EF1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F2
Deuteranopia (green-blind)
#779DED
Tritanopia (blue-blind)
#52B1BD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fa0ef;
/* rgb */ color: rgb(127, 160, 239);
/* oklch */ color: oklch(71.4% 0.122 266.1);
Tailwind
colors: {
  custom: {
    50: '#a9bbf4',
    500: '#7fa0ef',
    950: '#000000',
  },
}
SCSS
$custom: #7fa0ef;
$custom-light: #a9bbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa0ef",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 239
  },
  "hsl": {
    "h": 222.321,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71376,
    "c": 0.12173,
    "h": 266.1
  },
  "luminance": 0.35886
}

Semantic roles & 50–950 ramp

primary
#7FA0EF
secondary
#F3EBD7
accent
#9D0BDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7FA0EF

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

Preview Lab → · Contrast checker → · Palette generator →

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