#7FA7EA#7FA7EA

#7FA7EA is a light, moderate blue. Relative luminance 0.381; OKLCH L 72.6% C 0.108 H 260.4°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7FA7EA
RGBrgb(127, 167, 234)
HSLhsl(218, 72%, 71%)
HSVhsv(218, 46%, 92%)
CMYKcmyk(45.7%, 28.6%, 0%, 8.2%)
CIE-LABlab(68.09, 4.01, -37.88)
CIE-LCHlch(68.09, 38.09, 276.05°)
OKLaboklab(72.59% -0.0179 -0.106)
OKLCHoklch(72.59% 0.108 260.4)
XYZxyz(37.4175, 38.0876, 83.2059)
Luminance0.3809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA7EA #EAC27F
analogous
#7FDCEA #7FA7EA #8C7FEA
triadic
#7FA7EA #EA7FA7 #A7EA7F
tetradic
#7FA7EA #EA7FDC #EAC27F #7FEA8C
square
#7FA7EA #EA7FDC #EAC27F #7FEA8C
split-complementary
#7FA7EA #EA8C7F #DCEA7F
monochromatic
#2262CD #4A83E1 #7FA7EA #B4CBF3 #E5EDFB

Accessibility & contrast

On white

2.44
#7FA7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#7FA7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA7EA
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA7EA#FFFFFF#000000##000000
##7FA7EA1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EABED
Deuteranopia (green-blind)
#82A1E9
Tritanopia (blue-blind)
#54B5BF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fa7ea;
/* rgb */ color: rgb(127, 167, 234);
/* oklch */ color: oklch(72.6% 0.108 260.4);
Tailwind
colors: {
  custom: {
    50: '#a9c0f1',
    500: '#7fa7ea',
    950: '#000000',
  },
}
SCSS
$custom: #7fa7ea;
$custom-light: #a9c0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa7ea",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 234
  },
  "hsl": {
    "h": 217.57,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72592,
    "c": 0.10751,
    "h": 260.4
  },
  "luminance": 0.3809
}

Semantic roles & 50–950 ramp

primary
#7FA7EA
secondary
#F1E6D4
accent
#8B12D4
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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