#7FA2DF#7FA2DF

#7FA2DF is a light, moderate blue. Relative luminance 0.357; OKLCH L 71.0% C 0.098 H 261.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7FA2DF
RGBrgb(127, 162, 223)
HSLhsl(218, 60%, 69%)
HSVhsv(218, 43%, 87%)
CMYKcmyk(43%, 27.4%, 0%, 12.5%)
CIE-LABlab(66.27, 3.71, -34.65)
CIE-LCHlch(66.27, 34.85, 276.12°)
OKLaboklab(71.03% -0.015 -0.0967)
OKLCHoklch(71.03% 0.098 261.2)
XYZxyz(34.9877, 35.6784, 74.8407)
Luminance0.3568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2DF #DFBC7F
analogous
#7FD2DF #7FA2DF #8C7FDF
triadic
#7FA2DF #DF7FA2 #A2DF7F
tetradic
#7FA2DF #DF7FD2 #DFBC7F #7FDF8C
square
#7FA2DF #DF7FD2 #DFBC7F #7FDF8C
split-complementary
#7FA2DF #DF8C7F #D2DF7F
monochromatic
#2E5FB6 #4E7ED3 #7FA2DF #B0C6EB #E1E9F7

Accessibility & contrast

On white

2.58
#7FA2DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#7FA2DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2DF
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2DF#FFFFFF#000000##000000
##7FA2DF1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA6E2
Deuteranopia (green-blind)
#819DDE
Tritanopia (blue-blind)
#5CAFB7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7fa2df;
/* rgb */ color: rgb(127, 162, 223);
/* oklch */ color: oklch(71.0% 0.098 261.2);
Tailwind
colors: {
  custom: {
    50: '#a8bde9',
    500: '#7fa2df',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2df;
$custom-light: #a8bde9;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2df",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 223
  },
  "hsl": {
    "h": 218.125,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71025,
    "c": 0.09789,
    "h": 261.2
  },
  "luminance": 0.3568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA2DF

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

Preview Lab → · Contrast checker → · Palette generator →

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