#7BA1E4#7BA1E4

#7BA1E4 is a light, moderate blue. Relative luminance 0.353; OKLCH L 70.8% C 0.107 H 261.3°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7BA1E4
RGBrgb(123, 161, 228)
HSLhsl(218, 66%, 69%)
HSVhsv(218, 46%, 89%)
CMYKcmyk(46.1%, 29.4%, 0%, 10.6%)
CIE-LABlab(65.98, 4.71, -37.88)
CIE-LCHlch(65.98, 38.17, 277.09°)
OKLaboklab(70.81% -0.0162 -0.1061)
OKLCHoklch(70.81% 0.107 261.3)
XYZxyz(34.9123, 35.2999, 78.3577)
Luminance0.3530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA1E4 #E4BE7B
analogous
#7BD6E4 #7BA1E4 #8A7BE4
triadic
#7BA1E4 #E47BA1 #A1E47B
tetradic
#7BA1E4 #E47BD6 #E4BE7B #7BE48A
square
#7BA1E4 #E47BD6 #E4BE7B #7BE48A
split-complementary
#7BA1E4 #E48A7B #D6E47B
monochromatic
#275DBE #487DDA #7BA1E4 #AEC5EE #E1E9F9

Accessibility & contrast

On white

2.61
#7BA1E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#7BA1E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA1E4
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA1E4#FFFFFF#000000##000000
##7BA1E41.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A6E7
Deuteranopia (green-blind)
#7C9CE3
Tritanopia (blue-blind)
#51AFB9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7ba1e4;
/* rgb */ color: rgb(123, 161, 228);
/* oklch */ color: oklch(70.8% 0.107 261.3);
Tailwind
colors: {
  custom: {
    50: '#a6bcec',
    500: '#7ba1e4',
    950: '#000000',
  },
}
SCSS
$custom: #7ba1e4;
$custom-light: #a6bcec;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba1e4",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 228
  },
  "hsl": {
    "h": 218.286,
    "s": 66.038,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70806,
    "c": 0.10732,
    "h": 261.3
  },
  "luminance": 0.35302
}

Semantic roles & 50–950 ramp

primary
#7BA1E4
secondary
#EDE2CE
accent
#8C18CE
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7BA1E4

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

Preview Lab → · Contrast checker → · Palette generator →

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