#7CA2EF#7CA2EF

#7CA2EF is a light, vivid blue. Relative luminance 0.364; OKLCH L 71.6% C 0.121 H 263.6°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7CA2EF
RGBrgb(124, 162, 239)
HSLhsl(220, 78%, 71%)
HSVhsv(220, 48%, 94%)
CMYKcmyk(48.1%, 32.2%, 0%, 6.3%)
CIE-LABlab(66.79, 7.59, -42.65)
CIE-LCHlch(66.79, 43.32, 280.09°)
OKLaboklab(71.61% -0.0134 -0.1199)
OKLCHoklch(71.61% 0.121 263.6)
XYZxyz(36.8074, 36.3553, 86.7224)
Luminance0.3636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA2EF #EFC97C
analogous
#7CDBEF #7CA2EF #8F7CEF
triadic
#7CA2EF #EF7CA2 #A2EF7C
tetradic
#7CA2EF #EF7CDB #EFC97C #7CEF8F
square
#7CA2EF #EF7CDB #EFC97C #7CEF8F
split-complementary
#7CA2EF #EF8F7C #DBEF7C
monochromatic
#1A58D6 #457BE8 #7CA2EF #B3C9F6 #E4ECFC

Accessibility & contrast

On white

2.54
#7CA2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#7CA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA2EF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA2EF#FFFFFF#000000##000000
##7CA2EF1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F2
Deuteranopia (green-blind)
#789EED
Tritanopia (blue-blind)
#4BB2BE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7ca2ef;
/* rgb */ color: rgb(124, 162, 239);
/* oklch */ color: oklch(71.6% 0.121 263.6);
Tailwind
colors: {
  custom: {
    50: '#a7bdf4',
    500: '#7ca2ef',
    950: '#000000',
  },
}
SCSS
$custom: #7ca2ef;
$custom-light: #a7bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca2ef",
  "rgb": {
    "r": 124,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 220.174,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7161,
    "c": 0.12063,
    "h": 263.6
  },
  "luminance": 0.36358
}

Semantic roles & 50–950 ramp

primary
#7CA2EF
secondary
#F3E9D4
accent
#960BDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7CA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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