#828AF2#828AF2

#828AF2 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.4% C 0.152 H 278.1°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#828AF2
RGBrgb(130, 138, 242)
HSLhsl(236, 81%, 73%)
HSVhsv(236, 46%, 95%)
CMYKcmyk(46.3%, 43%, 0%, 5.1%)
CIE-LABlab(61.07, 23.82, -53.30)
CIE-LCHlch(61.07, 58.38, 294.08°)
OKLaboklab(67.35% 0.0216 -0.1509)
OKLCHoklch(67.35% 0.152 278.1)
XYZxyz(34.3165, 29.3318, 87.8406)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828AF2 #F2EA82
analogous
#82C2F2 #828AF2 #B282F2
triadic
#828AF2 #F2828A #8AF282
tetradic
#828AF2 #F282C2 #F2EA82 #82F2B2
square
#828AF2 #F282C2 #F2EA82 #82F2B2
split-complementary
#828AF2 #F2B282 #C2F282
monochromatic
#1826E2 #4B56EC #828AF2 #B9BEF8 #E3E5FC

Accessibility & contrast

On white

3.06
#828AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#828AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828AF2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828AF2#FFFFFF#000000##000000
##828AF21.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#5AA0B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #828af2;
/* rgb */ color: rgb(130, 138, 242);
/* oklch */ color: oklch(67.4% 0.152 278.1);
Tailwind
colors: {
  custom: {
    50: '#acacf7',
    500: '#828af2',
    950: '#000000',
  },
}
SCSS
$custom: #828af2;
$custom-light: #acacf7;
$custom-dark: #000000;
JSON
{
  "hex": "#828af2",
  "rgb": {
    "r": 130,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 235.714,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67353,
    "c": 0.15249,
    "h": 278.1
  },
  "luminance": 0.29334
}

Semantic roles & 50–950 ramp

primary
#828AF2
secondary
#F4F2D7
accent
#CE08DE
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #828AF2

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

Preview Lab → · Contrast checker → · Palette generator →

#828AF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva