#7BA2FE#7BA2FE

#7BA2FE is a light, vivid blue. Relative luminance 0.372; OKLCH L 72.3% C 0.141 H 265.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7BA2FE
RGBrgb(123, 162, 254)
HSLhsl(222, 98%, 74%)
HSVhsv(222, 52%, 100%)
CMYKcmyk(51.6%, 36.2%, 0%, 0.4%)
CIE-LABlab(67.43, 11.84, -49.83)
CIE-LCHlch(67.43, 51.22, 283.37°)
OKLaboklab(72.32% -0.0108 -0.1408)
OKLCHoklch(72.32% 0.141 265.6)
XYZxyz(38.9722, 37.2046, 98.8743)
Luminance0.3721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA2FE #FED77B
analogous
#7BE4FE #7BA2FE #967BFE
triadic
#7BA2FE #FE7BA2 #A2FE7B
tetradic
#7BA2FE #FE7BE4 #FED77B #7BFE96
square
#7BA2FE #FE7BE4 #FED77B #7BFE96
split-complementary
#7BA2FE #FE967B #E4FE7B
monochromatic
#024DFD #3E77FE #7BA2FE #B8CDFE #E1EAFF

Accessibility & contrast

On white

2.49
#7BA2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#7BA2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA2FE
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA2FE#FFFFFF#000000##000000
##7BA2FE1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#6F9FFC
Tritanopia (blue-blind)
#3BB6C4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7ba2fe;
/* rgb */ color: rgb(123, 162, 254);
/* oklch */ color: oklch(72.3% 0.141 265.6);
Tailwind
colors: {
  custom: {
    50: '#a8bdff',
    500: '#7ba2fe',
    950: '#000000',
  },
}
SCSS
$custom: #7ba2fe;
$custom-light: #a8bdff;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba2fe",
  "rgb": {
    "r": 123,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 222.137,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72319,
    "c": 0.1412,
    "h": 265.6
  },
  "luminance": 0.37207
}

Semantic roles & 50–950 ramp

primary
#7BA2FE
secondary
#F7EDD4
accent
#A100E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101218
muted
#7F8186

Preview Lab

Preview with #7BA2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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