#7BA2EF#7BA2EF

#7BA2EF is a light, vivid blue. Relative luminance 0.363; OKLCH L 71.6% C 0.121 H 263.2°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7BA2EF
RGBrgb(123, 162, 239)
HSLhsl(220, 78%, 71%)
HSVhsv(220, 49%, 94%)
CMYKcmyk(48.5%, 32.2%, 0%, 6.3%)
CIE-LABlab(66.73, 7.36, -42.74)
CIE-LCHlch(66.73, 43.37, 279.77°)
OKLaboklab(71.55% -0.0144 -0.1202)
OKLCHoklch(71.55% 0.121 263.2)
XYZxyz(36.6636, 36.2812, 86.7156)
Luminance0.3628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA2EF #EFC87B
analogous
#7BDCEF #7BA2EF #8E7BEF
triadic
#7BA2EF #EF7BA2 #A2EF7B
tetradic
#7BA2EF #EF7BDC #EFC87B #7BEF8E
square
#7BA2EF #EF7BDC #EFC87B #7BEF8E
split-complementary
#7BA2EF #EF8E7B #DCEF7B
monochromatic
#1A59D6 #447CE8 #7BA2EF #B2C8F6 #E4ECFC

Accessibility & contrast

On white

2.54
#7BA2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#7BA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA2EF
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA2EF#FFFFFF#000000##000000
##7BA2EF1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F2
Deuteranopia (green-blind)
#789DED
Tritanopia (blue-blind)
#49B3BE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7ba2ef;
/* rgb */ color: rgb(123, 162, 239);
/* oklch */ color: oklch(71.6% 0.121 263.2);
Tailwind
colors: {
  custom: {
    50: '#a7bdf4',
    500: '#7ba2ef',
    950: '#000000',
  },
}
SCSS
$custom: #7ba2ef;
$custom-light: #a7bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba2ef",
  "rgb": {
    "r": 123,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 219.828,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71551,
    "c": 0.12103,
    "h": 263.2
  },
  "luminance": 0.36284
}

Semantic roles & 50–950 ramp

primary
#7BA2EF
secondary
#F2E8D3
accent
#950BDB
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7BA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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