#6B81F5#6B81F5

#6B81F5 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.3% C 0.174 H 272.5°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6B81F5
RGBrgb(107, 129, 245)
HSLhsl(230, 87%, 69%)
HSVhsv(230, 56%, 96%)
CMYKcmyk(56.3%, 47.3%, 0%, 3.9%)
CIE-LABlab(57.48, 25.18, -60.78)
CIE-LCHlch(57.48, 65.79, 292.50°)
OKLaboklab(64.29% 0.0077 -0.1735)
OKLCHoklch(64.29% 0.174 272.5)
XYZxyz(30.3897, 25.4166, 89.6730)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B81F5 #F5DF6B
analogous
#6BC6F5 #6B81F5 #9A6BF5
triadic
#6B81F5 #F56B81 #81F56B
tetradic
#6B81F5 #F56BC6 #F5DF6B #6BF59A
square
#6B81F5 #F56BC6 #F5DF6B #6BF59A
split-complementary
#6B81F5 #F59A6B #C6F56B
monochromatic
#0F2FD7 #3250F1 #6B81F5 #A4B2F9 #DEE3FD

Accessibility & contrast

On white

3.45
#6B81F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#6B81F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B81F5
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B81F5#FFFFFF#000000##000000
##6B81F51.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4990F9
Deuteranopia (green-blind)
#3484F3
Tritanopia (blue-blind)
#0E9BAF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6b81f5;
/* rgb */ color: rgb(107, 129, 245);
/* oklch */ color: oklch(64.3% 0.174 272.5);
Tailwind
colors: {
  custom: {
    50: '#9fa5f9',
    500: '#6b81f5',
    950: '#000000',
  },
}
SCSS
$custom: #6b81f5;
$custom-light: #9fa5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b81f5",
  "rgb": {
    "r": 107,
    "g": 129,
    "b": 245
  },
  "hsl": {
    "h": 230.435,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6429,
    "c": 0.17366,
    "h": 272.5
  },
  "luminance": 0.25419
}

Semantic roles & 50–950 ramp

primary
#6B81F5
secondary
#F2ECCA
accent
#C002E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #6B81F5

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

Preview Lab → · Contrast checker → · Palette generator →

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