#7CA7F2#7CA7F2

#7CA7F2 is a light, moderate blue. Relative luminance 0.383; OKLCH L 72.8% C 0.119 H 261.1°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7CA7F2
RGBrgb(124, 167, 242)
HSLhsl(218, 82%, 72%)
HSVhsv(218, 49%, 95%)
CMYKcmyk(48.8%, 31%, 0%, 5.1%)
CIE-LABlab(68.26, 5.63, -41.98)
CIE-LCHlch(68.26, 42.36, 277.64°)
OKLaboklab(72.8% -0.0185 -0.1179)
OKLCHoklch(72.8% 0.119 261.1)
XYZxyz(38.1526, 38.3307, 89.3753)
Luminance0.3833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA7F2 #F2C77C
analogous
#7CE2F2 #7CA7F2 #8C7CF2
triadic
#7CA7F2 #F27CA7 #A7F27C
tetradic
#7CA7F2 #F27CE2 #F2C77C #7CF28C
square
#7CA7F2 #F27CE2 #F2C77C #7CF28C
split-complementary
#7CA7F2 #F28C7C #E2F27C
monochromatic
#165FDE #4482EC #7CA7F2 #B4CCF8 #E3ECFC

Accessibility & contrast

On white

2.42
#7CA7F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#7CA7F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA7F2
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA7F2#FFFFFF#000000##000000
##7CA7F21.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AACF5
Deuteranopia (green-blind)
#7DA1F0
Tritanopia (blue-blind)
#48B7C2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7ca7f2;
/* rgb */ color: rgb(124, 167, 242);
/* oklch */ color: oklch(72.8% 0.119 261.1);
Tailwind
colors: {
  custom: {
    50: '#a8c0f6',
    500: '#7ca7f2',
    950: '#000000',
  },
}
SCSS
$custom: #7ca7f2;
$custom-light: #a8c0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca7f2",
  "rgb": {
    "r": 124,
    "g": 167,
    "b": 242
  },
  "hsl": {
    "h": 218.136,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.728,
    "c": 0.11936,
    "h": 261.1
  },
  "luminance": 0.38333
}

Semantic roles & 50–950 ramp

primary
#7CA7F2
secondary
#F4E9D6
accent
#9007DE
background
#FAFBFF
surface
#F4F7FE
border
#CED0D6
text
#101217
muted
#7F8185

Preview Lab

Preview with #7CA7F2

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

Preview Lab → · Contrast checker → · Palette generator →

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