#7BA8FC#7BA8FC

#7BA8FC is a light, vivid blue. Relative luminance 0.392; OKLCH L 73.4% C 0.132 H 262.2°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7BA8FC
RGBrgb(123, 168, 252)
HSLhsl(219, 96%, 74%)
HSVhsv(219, 51%, 99%)
CMYKcmyk(51.2%, 33.3%, 0%, 1.2%)
CIE-LABlab(68.93, 7.81, -46.39)
CIE-LCHlch(68.93, 47.04, 279.55°)
OKLaboklab(73.45% -0.018 -0.1307)
OKLCHoklch(73.45% 0.132 262.2)
XYZxyz(39.7358, 39.2416, 97.5571)
Luminance0.3924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA8FC #FCCF7B
analogous
#7BE8FC #7BA8FC #8E7BFC
triadic
#7BA8FC #FC7BA8 #A8FC7B
tetradic
#7BA8FC #FC7BE8 #FCCF7B #7BFC8E
square
#7BA8FC #FC7BE8 #FCCF7B #7BFC8E
split-complementary
#7BA8FC #FC8E7B #E8FC7B
monochromatic
#065AF7 #3F81FB #7BA8FC #B7CFFD #E1EBFE

Accessibility & contrast

On white

2.37
#7BA8FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#7BA8FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA8FC
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA8FC#FFFFFF#000000##000000
##7BA8FC1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#78A3FA
Tritanopia (blue-blind)
#3CBAC6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7ba8fc;
/* rgb */ color: rgb(123, 168, 252);
/* oklch */ color: oklch(73.4% 0.132 262.2);
Tailwind
colors: {
  custom: {
    50: '#a8c1fd',
    500: '#7ba8fc',
    950: '#000000',
  },
}
SCSS
$custom: #7ba8fc;
$custom-light: #a8c1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba8fc",
  "rgb": {
    "r": 123,
    "g": 168,
    "b": 252
  },
  "hsl": {
    "h": 219.07,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73449,
    "c": 0.13196,
    "h": 262.2
  },
  "luminance": 0.39244
}

Semantic roles & 50–950 ramp

primary
#7BA8FC
secondary
#F7EBD4
accent
#9500E6
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#101218
muted
#7F8186

Preview Lab

Preview with #7BA8FC

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

Preview Lab → · Contrast checker → · Palette generator →

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