#7B8EF0#7B8EF0

#7B8EF0 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.5% C 0.146 H 273.6°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7B8EF0
RGBrgb(123, 142, 240)
HSLhsl(230, 80%, 71%)
HSVhsv(230, 49%, 94%)
CMYKcmyk(48.7%, 40.8%, 0%, 5.9%)
CIE-LABlab(61.52, 19.27, -51.51)
CIE-LCHlch(61.52, 55.00, 290.51°)
OKLaboklab(67.54% 0.0092 -0.1458)
OKLCHoklch(67.54% 0.146 273.6)
XYZxyz(33.5646, 29.8462, 86.4134)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8EF0 #F0DD7B
analogous
#7BC8F0 #7B8EF0 #A27BF0
triadic
#7B8EF0 #F07B8E #8EF07B
tetradic
#7B8EF0 #F07BC8 #F0DD7B #7BF0A2
square
#7B8EF0 #F07BC8 #F0DD7B #7BF0A2
split-complementary
#7B8EF0 #F0A27B #C8F07B
monochromatic
#1938D8 #445FEA #7B8EF0 #B2BDF6 #E4E7FC

Accessibility & contrast

On white

3.01
#7B8EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#7B8EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8EF0
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8EF0#FFFFFF#000000##000000
##7B8EF01.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF4
Deuteranopia (green-blind)
#5C90EE
Tritanopia (blue-blind)
#4CA3B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7b8ef0;
/* rgb */ color: rgb(123, 142, 240);
/* oklch */ color: oklch(67.5% 0.146 273.6);
Tailwind
colors: {
  custom: {
    50: '#a7aef5',
    500: '#7b8ef0',
    950: '#000000',
  },
}
SCSS
$custom: #7b8ef0;
$custom-light: #a7aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8ef0",
  "rgb": {
    "r": 123,
    "g": 142,
    "b": 240
  },
  "hsl": {
    "h": 230.256,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67542,
    "c": 0.14614,
    "h": 273.6
  },
  "luminance": 0.29848
}

Semantic roles & 50–950 ramp

primary
#7B8EF0
secondary
#F3EED4
accent
#BA0ADC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7B8EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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