#7BA1FA#7BA1FA

#7BA1FA is a light, vivid blue. Relative luminance 0.366; OKLCH L 71.9% C 0.137 H 265.6°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7BA1FA
RGBrgb(123, 161, 250)
HSLhsl(222, 93%, 73%)
HSVhsv(222, 51%, 98%)
CMYKcmyk(50.8%, 35.6%, 0%, 2%)
CIE-LABlab(66.98, 11.21, -48.37)
CIE-LCHlch(66.98, 49.65, 283.05°)
OKLaboklab(71.91% -0.0106 -0.1365)
OKLCHoklch(71.91% 0.137 265.6)
XYZxyz(38.1629, 36.6002, 95.4775)
Luminance0.3660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA1FA #FAD47B
analogous
#7BE1FA #7BA1FA #947BFA
triadic
#7BA1FA #FA7BA1 #A1FA7B
tetradic
#7BA1FA #FA7BE1 #FAD47B #7BFA94
square
#7BA1FA #FA7BE1 #FAD47B #7BFA94
split-complementary
#7BA1FA #FA947B #E1FA7B
monochromatic
#094FF1 #4077F8 #7BA1FA #B6CBFC #E2EAFE

Accessibility & contrast

On white

2.52
#7BA1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#7BA1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA1FA
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA1FA#FFFFFF#000000##000000
##7BA1FA1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FE
Deuteranopia (green-blind)
#709EF8
Tritanopia (blue-blind)
#3FB4C2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7ba1fa;
/* rgb */ color: rgb(123, 161, 250);
/* oklch */ color: oklch(71.9% 0.137 265.6);
Tailwind
colors: {
  custom: {
    50: '#a8bcfc',
    500: '#7ba1fa',
    950: '#000000',
  },
}
SCSS
$custom: #7ba1fa;
$custom-light: #a8bcfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba1fa",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 222.047,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71905,
    "c": 0.13695,
    "h": 265.6
  },
  "luminance": 0.36603
}

Semantic roles & 50–950 ramp

primary
#7BA1FA
secondary
#F6ECD5
accent
#A100E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7BA1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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