#7FA1DF#7FA1DF

#7FA1DF is a light, moderate blue. Relative luminance 0.353; OKLCH L 70.8% C 0.099 H 262.0°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7FA1DF
RGBrgb(127, 161, 223)
HSLhsl(219, 60%, 69%)
HSVhsv(219, 43%, 87%)
CMYKcmyk(43%, 27.8%, 0%, 12.5%)
CIE-LABlab(66.00, 4.28, -35.07)
CIE-LCHlch(66.00, 35.33, 276.96°)
OKLaboklab(70.81% -0.0137 -0.0979)
OKLCHoklch(70.81% 0.099 262)
XYZxyz(34.8123, 35.3275, 74.7823)
Luminance0.3533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA1DF #DFBD7F
analogous
#7FD1DF #7FA1DF #8D7FDF
triadic
#7FA1DF #DF7FA1 #A1DF7F
tetradic
#7FA1DF #DF7FD1 #DFBD7F #7FDF8D
square
#7FA1DF #DF7FD1 #DFBD7F #7FDF8D
split-complementary
#7FA1DF #DF8D7F #D1DF7F
monochromatic
#2E5EB6 #4E7DD3 #7FA1DF #B0C5EB #E1E9F7

Accessibility & contrast

On white

2.60
#7FA1DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#7FA1DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA1DF
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA1DF#FFFFFF#000000##000000
##7FA1DF1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA5E2
Deuteranopia (green-blind)
#809CDE
Tritanopia (blue-blind)
#5CAEB7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7fa1df;
/* rgb */ color: rgb(127, 161, 223);
/* oklch */ color: oklch(70.8% 0.099 262.0);
Tailwind
colors: {
  custom: {
    50: '#a8bce9',
    500: '#7fa1df',
    950: '#000000',
  },
}
SCSS
$custom: #7fa1df;
$custom-light: #a8bce9;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa1df",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 223
  },
  "hsl": {
    "h": 218.75,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70814,
    "c": 0.09891,
    "h": 262
  },
  "luminance": 0.35329
}

Semantic roles & 50–950 ramp

primary
#7FA1DF
secondary
#EBE1CF
accent
#8C1EC8
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA1DF

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

Preview Lab → · Contrast checker → · Palette generator →

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