#7FA2F0#7FA2F0

#7FA2F0 is a light, vivid blue. Relative luminance 0.366; OKLCH L 71.8% C 0.121 H 265.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7FA2F0
RGBrgb(127, 162, 240)
HSLhsl(221, 79%, 72%)
HSVhsv(221, 47%, 94%)
CMYKcmyk(47.1%, 32.5%, 0%, 5.9%)
CIE-LABlab(67.01, 8.59, -42.84)
CIE-LCHlch(67.01, 43.70, 281.34°)
OKLaboklab(71.84% -0.0103 -0.1204)
OKLCHoklch(71.84% 0.121 265.1)
XYZxyz(37.3958, 36.6416, 87.5232)
Luminance0.3664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2F0 #F0CD7F
analogous
#7FDBF0 #7FA2F0 #957FF0
triadic
#7FA2F0 #F07FA2 #A2F07F
tetradic
#7FA2F0 #F07FDB #F0CD7F #7FF095
square
#7FA2F0 #F07FDB #F0CD7F #7FF095
split-complementary
#7FA2F0 #F0957F #DBF07F
monochromatic
#1A56DB #487AEA #7FA2F0 #B6CAF6 #E4EBFC

Accessibility & contrast

On white

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

On black

8.33
#7FA2F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2F0
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2F0#FFFFFF#000000##000000
##7FA2F01.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A9F3
Deuteranopia (green-blind)
#799EEE
Tritanopia (blue-blind)
#51B3BE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa2f0;
/* rgb */ color: rgb(127, 162, 240);
/* oklch */ color: oklch(71.8% 0.121 265.1);
Tailwind
colors: {
  custom: {
    50: '#a9bdf5',
    500: '#7fa2f0',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2f0;
$custom-light: #a9bdf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2f0",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 240
  },
  "hsl": {
    "h": 221.416,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71838,
    "c": 0.12084,
    "h": 265.1
  },
  "luminance": 0.36644
}

Semantic roles & 50–950 ramp

primary
#7FA2F0
secondary
#F4EBD7
accent
#9B0ADB
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA2F0

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

Preview Lab → · Contrast checker → · Palette generator →

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