#7FA5DF#7FA5DF

#7FA5DF is a light, moderate blue. Relative luminance 0.367; OKLCH L 71.7% C 0.095 H 258.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7FA5DF
RGBrgb(127, 165, 223)
HSLhsl(216, 60%, 69%)
HSVhsv(216, 43%, 87%)
CMYKcmyk(43%, 26%, 0%, 12.5%)
CIE-LABlab(67.09, 2.02, -33.39)
CIE-LCHlch(67.09, 33.45, 273.46°)
OKLaboklab(71.66% -0.0187 -0.0931)
OKLCHoklch(71.66% 0.095 258.7)
XYZxyz(35.5225, 36.7479, 75.0190)
Luminance0.3675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5DF #DFB97F
analogous
#7FD5DF #7FA5DF #897FDF
triadic
#7FA5DF #DF7FA5 #A5DF7F
tetradic
#7FA5DF #DF7FD5 #DFB97F #7FDF89
square
#7FA5DF #DF7FD5 #DFB97F #7FDF89
split-complementary
#7FA5DF #DF897F #D5DF7F
monochromatic
#2E64B6 #4E83D3 #7FA5DF #B0C7EB #E1EAF7

Accessibility & contrast

On white

2.51
#7FA5DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#7FA5DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5DF
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5DF#FFFFFF#000000##000000
##7FA5DF1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A8E2
Deuteranopia (green-blind)
#859FDE
Tritanopia (blue-blind)
#5BB2B9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa5df;
/* rgb */ color: rgb(127, 165, 223);
/* oklch */ color: oklch(71.7% 0.095 258.7);
Tailwind
colors: {
  custom: {
    50: '#a8bfe9',
    500: '#7fa5df',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5df;
$custom-light: #a8bfe9;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5df",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 223
  },
  "hsl": {
    "h": 216.25,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71662,
    "c": 0.09497,
    "h": 258.7
  },
  "luminance": 0.3675
}

Semantic roles & 50–950 ramp

primary
#7FA5DF
secondary
#EBE0CF
accent
#841EC8
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA5DF

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

Preview Lab → · Contrast checker → · Palette generator →

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