#7FA5DE#7FA5DE

#7FA5DE is a light, moderate blue. Relative luminance 0.367; OKLCH L 71.6% C 0.094 H 258.3°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7FA5DE
RGBrgb(127, 165, 222)
HSLhsl(216, 59%, 68%)
HSVhsv(216, 43%, 87%)
CMYKcmyk(42.8%, 25.7%, 0%, 12.9%)
CIE-LABlab(67.05, 1.74, -32.90)
CIE-LCHlch(67.05, 32.95, 273.03°)
OKLaboklab(71.62% -0.019 -0.0917)
OKLCHoklch(71.62% 0.094 258.3)
XYZxyz(35.3881, 36.6941, 74.3111)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5DE #DEB87F
analogous
#7FD4DE #7FA5DE #887FDE
triadic
#7FA5DE #DE7FA5 #A5DE7F
tetradic
#7FA5DE #DE7FD4 #DEB87F #7FDE88
square
#7FA5DE #DE7FD4 #DEB87F #7FDE88
split-complementary
#7FA5DE #DE887F #D4DE7F
monochromatic
#2E64B4 #4E83D1 #7FA5DE #B0C7EB #E0E9F7

Accessibility & contrast

On white

2.52
#7FA5DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#7FA5DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5DE
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5DE#FFFFFF#000000##000000
##7FA5DE1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A8E1
Deuteranopia (green-blind)
#859FDD
Tritanopia (blue-blind)
#5CB1B9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa5de;
/* rgb */ color: rgb(127, 165, 222);
/* oklch */ color: oklch(71.6% 0.094 258.3);
Tailwind
colors: {
  custom: {
    50: '#a8bfe8',
    500: '#7fa5de',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5de;
$custom-light: #a8bfe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5de",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 222
  },
  "hsl": {
    "h": 216,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71616,
    "c": 0.09366,
    "h": 258.3
  },
  "luminance": 0.36696
}

Semantic roles & 50–950 ramp

primary
#7FA5DE
secondary
#EBDFCE
accent
#841FC7
background
#FAFBFE
surface
#F4F7FC
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA5DE

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

Preview Lab → · Contrast checker → · Palette generator →

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