#7BA4FE#7BA4FE

#7BA4FE is a light, vivid blue. Relative luminance 0.379; OKLCH L 72.7% C 0.139 H 264.6°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#7BA4FE
RGBrgb(123, 164, 254)
HSLhsl(221, 98%, 74%)
HSVhsv(221, 52%, 100%)
CMYKcmyk(51.6%, 35.4%, 0%, 0.4%)
CIE-LABlab(67.96, 10.70, -49.00)
CIE-LCHlch(67.96, 50.15, 282.31°)
OKLaboklab(72.73% -0.013 -0.1383)
OKLCHoklch(72.73% 0.139 264.6)
XYZxyz(39.3273, 37.9148, 98.9926)
Luminance0.3792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA4FE #FED57B
analogous
#7BE6FE #7BA4FE #947BFE
triadic
#7BA4FE #FE7BA4 #A4FE7B
tetradic
#7BA4FE #FE7BE6 #FED57B #7BFE94
square
#7BA4FE #FE7BE6 #FED57B #7BFE94
split-complementary
#7BA4FE #FE947B #E6FE7B
monochromatic
#0250FD #3E7AFE #7BA4FE #B8CEFE #E1EAFF

Accessibility & contrast

On white

2.45
#7BA4FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#7BA4FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA4FE
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA4FE#FFFFFF#000000##000000
##7BA4FE1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#71A0FC
Tritanopia (blue-blind)
#3AB7C5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7ba4fe;
/* rgb */ color: rgb(123, 164, 254);
/* oklch */ color: oklch(72.7% 0.139 264.6);
Tailwind
colors: {
  custom: {
    50: '#a8beff',
    500: '#7ba4fe',
    950: '#000000',
  },
}
SCSS
$custom: #7ba4fe;
$custom-light: #a8beff;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba4fe",
  "rgb": {
    "r": 123,
    "g": 164,
    "b": 254
  },
  "hsl": {
    "h": 221.221,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72728,
    "c": 0.13896,
    "h": 264.6
  },
  "luminance": 0.37918
}

Semantic roles & 50–950 ramp

primary
#7BA4FE
secondary
#F7ECD4
accent
#9E00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101218
muted
#7F8186

Preview Lab

Preview with #7BA4FE

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

Preview Lab → · Contrast checker → · Palette generator →

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