#7FA2F3#7FA2F3

#7FA2F3 is a light, vivid blue. Relative luminance 0.368; OKLCH L 72.0% C 0.125 H 265.6°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7FA2F3
RGBrgb(127, 162, 243)
HSLhsl(222, 83%, 73%)
HSVhsv(222, 48%, 95%)
CMYKcmyk(47.7%, 33.3%, 0%, 4.7%)
CIE-LABlab(67.14, 9.47, -44.27)
CIE-LCHlch(67.14, 45.27, 282.07°)
OKLaboklab(71.99% -0.0096 -0.1245)
OKLCHoklch(71.99% 0.125 265.6)
XYZxyz(37.8451, 36.8213, 89.8897)
Luminance0.3682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2F3 #F3D07F
analogous
#7FDCF3 #7FA2F3 #967FF3
triadic
#7FA2F3 #F37FA2 #A2F37F
tetradic
#7FA2F3 #F37FDC #F3D07F #7FF396
square
#7FA2F3 #F37FDC #F3D07F #7FF396
split-complementary
#7FA2F3 #F3967F #DCF37F
monochromatic
#1553E2 #4779EE #7FA2F3 #B7CBF8 #E3EBFC

Accessibility & contrast

On white

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

On black

8.36
#7FA2F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2F3
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2F3#FFFFFF#000000##000000
##7FA2F31.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F6
Deuteranopia (green-blind)
#779FF1
Tritanopia (blue-blind)
#4FB3BF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa2f3;
/* rgb */ color: rgb(127, 162, 243);
/* oklch */ color: oklch(72.0% 0.125 265.6);
Tailwind
colors: {
  custom: {
    50: '#aabdf7',
    500: '#7fa2f3',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2f3;
$custom-light: #aabdf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2f3",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 243
  },
  "hsl": {
    "h": 221.897,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71988,
    "c": 0.12491,
    "h": 265.6
  },
  "luminance": 0.36824
}

Semantic roles & 50–950 ramp

primary
#7FA2F3
secondary
#F4EBD7
accent
#9E06DF
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA2F3

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

Preview Lab → · Contrast checker → · Palette generator →

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