#6B82F6#6B82F6

#6B82F6 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.5% C 0.174 H 272.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#6B82F6
RGBrgb(107, 130, 246)
HSLhsl(230, 89%, 69%)
HSVhsv(230, 57%, 96%)
CMYKcmyk(56.5%, 47.2%, 0%, 3.5%)
CIE-LABlab(57.79, 24.90, -60.83)
CIE-LCHlch(57.79, 65.73, 292.26°)
OKLaboklab(64.55% 0.0068 -0.1736)
OKLCHoklch(64.55% 0.174 272.2)
XYZxyz(30.6751, 25.7426, 90.5233)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B82F6 #F6DF6B
analogous
#6BC8F6 #6B82F6 #9A6BF6
triadic
#6B82F6 #F66B82 #82F66B
tetradic
#6B82F6 #F66BC8 #F6DF6B #6BF69A
square
#6B82F6 #F66BC8 #F6DF6B #6BF69A
split-complementary
#6B82F6 #F69A6B #C8F66B
monochromatic
#0D2FD9 #3151F2 #6B82F6 #A5B3FA #DEE3FD

Accessibility & contrast

On white

3.42
#6B82F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#6B82F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B82F6
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B82F6#FFFFFF#000000##000000
##6B82F61.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A91FA
Deuteranopia (green-blind)
#3585F4
Tritanopia (blue-blind)
#099CB0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6b82f6;
/* rgb */ color: rgb(107, 130, 246);
/* oklch */ color: oklch(64.5% 0.174 272.2);
Tailwind
colors: {
  custom: {
    50: '#9fa6fa',
    500: '#6b82f6',
    950: '#000000',
  },
}
SCSS
$custom: #6b82f6;
$custom-light: #9fa6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6b82f6",
  "rgb": {
    "r": 107,
    "g": 130,
    "b": 246
  },
  "hsl": {
    "h": 230.072,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64546,
    "c": 0.17376,
    "h": 272.2
  },
  "luminance": 0.25745
}

Semantic roles & 50–950 ramp

primary
#6B82F6
secondary
#F3ECCA
accent
#BF00E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #6B82F6

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

Preview Lab → · Contrast checker → · Palette generator →

#6B82F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva