#6B81EB#6B81EB

#6B81EB is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.7% C 0.160 H 272.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6B81EB
RGBrgb(107, 129, 235)
HSLhsl(230, 76%, 67%)
HSVhsv(230, 54%, 92%)
CMYKcmyk(54.5%, 45.1%, 0%, 7.8%)
CIE-LABlab(56.90, 22.00, -56.16)
CIE-LCHlch(56.90, 60.31, 291.40°)
OKLaboklab(63.66% 0.0064 -0.1599)
OKLCHoklch(63.66% 0.16 272.3)
XYZxyz(28.9042, 24.8224, 81.8492)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B81EB #EBD56B
analogous
#6BC1EB #6B81EB #956BEB
triadic
#6B81EB #EB6B81 #81EB6B
tetradic
#6B81EB #EB6BC1 #EBD56B #6BEB95
square
#6B81EB #EB6BC1 #EBD56B #6BEB95
split-complementary
#6B81EB #EB956B #C1EB6B
monochromatic
#1A37C1 #3553E4 #6B81EB #A1AFF2 #D7DDFA

Accessibility & contrast

On white

3.52
#6B81EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#6B81EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B81EB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B81EB#FFFFFF#000000##000000
##6B81EB1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#4183E9
Tritanopia (blue-blind)
#2698AB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6b81eb;
/* rgb */ color: rgb(107, 129, 235);
/* oklch */ color: oklch(63.7% 0.160 272.3);
Tailwind
colors: {
  custom: {
    50: '#9ea5f2',
    500: '#6b81eb',
    950: '#000000',
  },
}
SCSS
$custom: #6b81eb;
$custom-light: #9ea5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b81eb",
  "rgb": {
    "r": 107,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 229.688,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63664,
    "c": 0.16004,
    "h": 272.3
  },
  "luminance": 0.24824
}

Semantic roles & 50–950 ramp

primary
#6B81EB
secondary
#EDE6C5
accent
#B50DD8
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6B81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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