#7BA7EF#7BA7EF

#7BA7EF is a light, moderate blue. Relative luminance 0.381; OKLCH L 72.6% C 0.116 H 259.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7BA7EF
RGBrgb(123, 167, 239)
HSLhsl(217, 78%, 71%)
HSVhsv(217, 49%, 94%)
CMYKcmyk(48.5%, 30.1%, 0%, 6.3%)
CIE-LABlab(68.08, 4.52, -40.64)
CIE-LCHlch(68.08, 40.89, 276.34°)
OKLaboklab(72.6% -0.0202 -0.114)
OKLCHoklch(72.6% 0.116 259.9)
XYZxyz(37.5619, 38.0778, 87.0151)
Luminance0.3808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA7EF #EFC37B
analogous
#7BE1EF #7BA7EF #897BEF
triadic
#7BA7EF #EF7BA7 #A7EF7B
tetradic
#7BA7EF #EF7BE1 #EFC37B #7BEF89
square
#7BA7EF #EF7BE1 #EFC37B #7BEF89
split-complementary
#7BA7EF #EF897B #E1EF7B
monochromatic
#1A61D6 #4483E8 #7BA7EF #B2CBF6 #E4EDFC

Accessibility & contrast

On white

2.44
#7BA7EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#7BA7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA7EF
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA7EF#FFFFFF#000000##000000
##7BA7EF1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF2
Deuteranopia (green-blind)
#7EA1ED
Tritanopia (blue-blind)
#48B7C1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7ba7ef;
/* rgb */ color: rgb(123, 167, 239);
/* oklch */ color: oklch(72.6% 0.116 259.9);
Tailwind
colors: {
  custom: {
    50: '#a7c0f4',
    500: '#7ba7ef',
    950: '#000000',
  },
}
SCSS
$custom: #7ba7ef;
$custom-light: #a7c0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba7ef",
  "rgb": {
    "r": 123,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 217.241,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72598,
    "c": 0.11583,
    "h": 259.9
  },
  "luminance": 0.3808
}

Semantic roles & 50–950 ramp

primary
#7BA7EF
secondary
#F2E7D3
accent
#8C0BDB
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7BA7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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