#7BA5FC#7BA5FC

#7BA5FC is a light, vivid blue. Relative luminance 0.381; OKLCH L 72.8% C 0.135 H 263.8°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7BA5FC
RGBrgb(123, 165, 252)
HSLhsl(220, 96%, 74%)
HSVhsv(220, 51%, 99%)
CMYKcmyk(51.2%, 34.5%, 0%, 1.2%)
CIE-LABlab(68.13, 9.52, -47.64)
CIE-LCHlch(68.13, 48.58, 281.30°)
OKLaboklab(72.83% -0.0146 -0.1344)
OKLCHoklch(72.83% 0.135 263.8)
XYZxyz(39.1883, 38.1467, 97.3746)
Luminance0.3815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA5FC #FCD27B
analogous
#7BE6FC #7BA5FC #917BFC
triadic
#7BA5FC #FC7BA5 #A5FC7B
tetradic
#7BA5FC #FC7BE6 #FCD27B #7BFC91
square
#7BA5FC #FC7BE6 #FCD27B #7BFC91
split-complementary
#7BA5FC #FC917B #E6FC7B
monochromatic
#0654F7 #3F7CFB #7BA5FC #B7CEFD #E1EBFE

Accessibility & contrast

On white

2.43
#7BA5FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#7BA5FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA5FC
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA5FC#FFFFFF#000000##000000
##7BA5FC1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#74A1FA
Tritanopia (blue-blind)
#3CB8C5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7ba5fc;
/* rgb */ color: rgb(123, 165, 252);
/* oklch */ color: oklch(72.8% 0.135 263.8);
Tailwind
colors: {
  custom: {
    50: '#a8bffe',
    500: '#7ba5fc',
    950: '#000000',
  },
}
SCSS
$custom: #7ba5fc;
$custom-light: #a8bffe;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba5fc",
  "rgb": {
    "r": 123,
    "g": 165,
    "b": 252
  },
  "hsl": {
    "h": 220.465,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7283,
    "c": 0.13518,
    "h": 263.8
  },
  "luminance": 0.38149
}

Semantic roles & 50–950 ramp

primary
#7BA5FC
secondary
#F7EBD4
accent
#9B00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101218
muted
#7F8186

Preview Lab

Preview with #7BA5FC

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

Preview Lab → · Contrast checker → · Palette generator →

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