#7CA2E5#7CA2E5

#7CA2E5 is a light, moderate blue. Relative luminance 0.358; OKLCH L 71.1% C 0.107 H 261.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7CA2E5
RGBrgb(124, 162, 229)
HSLhsl(218, 67%, 69%)
HSVhsv(218, 46%, 90%)
CMYKcmyk(45.9%, 29.3%, 0%, 10.2%)
CIE-LABlab(66.35, 4.68, -37.85)
CIE-LCHlch(66.35, 38.14, 277.05°)
OKLaboklab(71.12% -0.0161 -0.106)
OKLCHoklch(71.12% 0.107 261.3)
XYZxyz(35.3707, 35.7807, 79.1561)
Luminance0.3578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA2E5 #E5BF7C
analogous
#7CD6E5 #7CA2E5 #8B7CE5
triadic
#7CA2E5 #E57CA2 #A2E57C
tetradic
#7CA2E5 #E57CD6 #E5BF7C #7CE58B
square
#7CA2E5 #E57CD6 #E5BF7C #7CE58B
split-complementary
#7CA2E5 #E58B7C #D6E57C
monochromatic
#265EC0 #497EDB #7CA2E5 #AFC6EF #E2EBF9

Accessibility & contrast

On white

2.57
#7CA2E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#7CA2E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA2E5
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA2E5#FFFFFF#000000##000000
##7CA2E51.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A7E8
Deuteranopia (green-blind)
#7D9DE4
Tritanopia (blue-blind)
#52B0BA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ca2e5;
/* rgb */ color: rgb(124, 162, 229);
/* oklch */ color: oklch(71.1% 0.107 261.3);
Tailwind
colors: {
  custom: {
    50: '#a7bded',
    500: '#7ca2e5',
    950: '#000000',
  },
}
SCSS
$custom: #7ca2e5;
$custom-light: #a7bded;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca2e5",
  "rgb": {
    "r": 124,
    "g": 162,
    "b": 229
  },
  "hsl": {
    "h": 218.286,
    "s": 66.879,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71124,
    "c": 0.10721,
    "h": 261.3
  },
  "luminance": 0.35783
}

Semantic roles & 50–950 ramp

primary
#7CA2E5
secondary
#EEE3CF
accent
#8C17CF
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7CA2E5

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

Preview Lab → · Contrast checker → · Palette generator →

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