#7BA2FC#7BA2FC

#7BA2FC is a light, vivid blue. Relative luminance 0.371; OKLCH L 72.2% C 0.139 H 265.3°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7BA2FC
RGBrgb(123, 162, 252)
HSLhsl(222, 96%, 74%)
HSVhsv(222, 51%, 99%)
CMYKcmyk(51.2%, 35.7%, 0%, 1.2%)
CIE-LABlab(67.33, 11.24, -48.89)
CIE-LCHlch(67.33, 50.17, 282.95°)
OKLaboklab(72.21% -0.0112 -0.1381)
OKLCHoklch(72.21% 0.139 265.3)
XYZxyz(38.6536, 37.0772, 97.1963)
Luminance0.3708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA2FC #FCD57B
analogous
#7BE3FC #7BA2FC #947BFC
triadic
#7BA2FC #FC7BA2 #A2FC7B
tetradic
#7BA2FC #FC7BE3 #FCD57B #7BFC94
square
#7BA2FC #FC7BE3 #FCD57B #7BFC94
split-complementary
#7BA2FC #FC947B #E3FC7B
monochromatic
#064FF7 #3F78FB #7BA2FC #B7CCFD #E1EAFE

Accessibility & contrast

On white

2.50
#7BA2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#7BA2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA2FC
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA2FC#FFFFFF#000000##000000
##7BA2FC1.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFF
Deuteranopia (green-blind)
#709FFA
Tritanopia (blue-blind)
#3DB5C3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7ba2fc;
/* rgb */ color: rgb(123, 162, 252);
/* oklch */ color: oklch(72.2% 0.139 265.3);
Tailwind
colors: {
  custom: {
    50: '#a8bdfe',
    500: '#7ba2fc',
    950: '#000000',
  },
}
SCSS
$custom: #7ba2fc;
$custom-light: #a8bdfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba2fc",
  "rgb": {
    "r": 123,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 221.86,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72214,
    "c": 0.13852,
    "h": 265.3
  },
  "luminance": 0.3708
}

Semantic roles & 50–950 ramp

primary
#7BA2FC
secondary
#F7ECD4
accent
#A000E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101218
muted
#7F8186

Preview Lab

Preview with #7BA2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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