#7BA7FE#7BA7FE

#7BA7FE is a light, vivid blue. Relative luminance 0.390; OKLCH L 73.3% C 0.136 H 263.1°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7BA7FE
RGBrgb(123, 167, 254)
HSLhsl(220, 98%, 74%)
HSVhsv(220, 52%, 100%)
CMYKcmyk(51.6%, 34.3%, 0%, 0.4%)
CIE-LABlab(68.75, 8.98, -47.74)
CIE-LCHlch(68.75, 48.58, 280.65°)
OKLaboklab(73.34% -0.0164 -0.1347)
OKLCHoklch(73.34% 0.136 263.1)
XYZxyz(39.8705, 39.0013, 99.1737)
Luminance0.3900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA7FE #FED27B
analogous
#7BE9FE #7BA7FE #917BFE
triadic
#7BA7FE #FE7BA7 #A7FE7B
tetradic
#7BA7FE #FE7BE9 #FED27B #7BFE91
square
#7BA7FE #FE7BE9 #FED27B #7BFE91
split-complementary
#7BA7FE #FE917B #E9FE7B
monochromatic
#0256FD #3E7FFE #7BA7FE #B8CFFE #E1EBFF

Accessibility & contrast

On white

2.39
#7BA7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#7BA7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA7FE
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA7FE#FFFFFF#000000##000000
##7BA7FE1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#75A2FC
Tritanopia (blue-blind)
#3ABAC7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7ba7fe;
/* rgb */ color: rgb(123, 167, 254);
/* oklch */ color: oklch(73.3% 0.136 263.1);
Tailwind
colors: {
  custom: {
    50: '#a8c0ff',
    500: '#7ba7fe',
    950: '#000000',
  },
}
SCSS
$custom: #7ba7fe;
$custom-light: #a8c0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba7fe",
  "rgb": {
    "r": 123,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 219.847,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73344,
    "c": 0.13568,
    "h": 263.1
  },
  "luminance": 0.39004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7BA7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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