#7F9DF2#7F9DF2

#7F9DF2 is a light, vivid blue. Relative luminance 0.350; OKLCH L 70.9% C 0.129 H 268.3°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7F9DF2
RGBrgb(127, 157, 242)
HSLhsl(224, 82%, 72%)
HSVhsv(224, 48%, 95%)
CMYKcmyk(47.5%, 35.1%, 0%, 5.1%)
CIE-LABlab(65.78, 12.05, -45.87)
CIE-LCHlch(65.78, 47.43, 284.71°)
OKLaboklab(70.91% -0.0039 -0.1292)
OKLCHoklch(70.91% 0.129 268.3)
XYZxyz(36.8312, 35.0345, 88.8087)
Luminance0.3504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9DF2 #F2D47F
analogous
#7FD6F2 #7F9DF2 #9B7FF2
triadic
#7F9DF2 #F27F9D #9DF27F
tetradic
#7F9DF2 #F27FD6 #F2D47F #7FF29B
square
#7F9DF2 #F27FD6 #F2D47F #7FF29B
split-complementary
#7F9DF2 #F29B7F #D6F27F
monochromatic
#174BE0 #4772EC #7F9DF2 #B7C8F8 #E3EAFC

Accessibility & contrast

On white

2.62
#7F9DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#7F9DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F9DF2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9DF2#FFFFFF#000000##000000
##7F9DF21.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F5
Deuteranopia (green-blind)
#719BF0
Tritanopia (blue-blind)
#51AFBC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7f9df2;
/* rgb */ color: rgb(127, 157, 242);
/* oklch */ color: oklch(70.9% 0.129 268.3);
Tailwind
colors: {
  custom: {
    50: '#aab9f6',
    500: '#7f9df2',
    950: '#000000',
  },
}
SCSS
$custom: #7f9df2;
$custom-light: #aab9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9df2",
  "rgb": {
    "r": 127,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 224.348,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70913,
    "c": 0.12929,
    "h": 268.3
  },
  "luminance": 0.35037
}

Semantic roles & 50–950 ramp

primary
#7F9DF2
secondary
#F4ECD7
accent
#A608DE
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #7F9DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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