#7BA8FE#7BA8FE

#7BA8FE is a light, vivid blue. Relative luminance 0.394; OKLCH L 73.6% C 0.135 H 262.5°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7BA8FE
RGBrgb(123, 168, 254)
HSLhsl(219, 98%, 74%)
HSVhsv(219, 52%, 100%)
CMYKcmyk(51.6%, 33.9%, 0%, 0.4%)
CIE-LABlab(69.02, 8.41, -47.33)
CIE-LCHlch(69.02, 48.07, 280.07°)
OKLaboklab(73.55% -0.0175 -0.1335)
OKLCHoklch(73.55% 0.135 262.5)
XYZxyz(40.0544, 39.3691, 99.2350)
Luminance0.3937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA8FE #FED17B
analogous
#7BEAFE #7BA8FE #907BFE
triadic
#7BA8FE #FE7BA8 #A8FE7B
tetradic
#7BA8FE #FE7BEA #FED17B #7BFE90
square
#7BA8FE #FE7BEA #FED17B #7BFE90
split-complementary
#7BA8FE #FE907B #EAFE7B
monochromatic
#0258FD #3E80FE #7BA8FE #B8D0FE #E1EBFF

Accessibility & contrast

On white

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

On black

8.87
#7BA8FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA8FE
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA8FE#FFFFFF#000000##000000
##7BA8FE1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#77A3FC
Tritanopia (blue-blind)
#39BBC7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7ba8fe;
/* rgb */ color: rgb(123, 168, 254);
/* oklch */ color: oklch(73.6% 0.135 262.5);
Tailwind
colors: {
  custom: {
    50: '#a8c1ff',
    500: '#7ba8fe',
    950: '#000000',
  },
}
SCSS
$custom: #7ba8fe;
$custom-light: #a8c1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba8fe",
  "rgb": {
    "r": 123,
    "g": 168,
    "b": 254
  },
  "hsl": {
    "h": 219.389,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73551,
    "c": 0.13461,
    "h": 262.5
  },
  "luminance": 0.39372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7BA8FE

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

Preview Lab → · Contrast checker → · Palette generator →

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