#6B81EF#6B81EF

#6B81EF is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.9% C 0.166 H 272.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#6B81EF
RGBrgb(107, 129, 239)
HSLhsl(230, 80%, 68%)
HSVhsv(230, 55%, 94%)
CMYKcmyk(55.2%, 46%, 0%, 6.3%)
CIE-LABlab(57.13, 23.27, -58.02)
CIE-LCHlch(57.13, 62.51, 291.86°)
OKLaboklab(63.91% 0.007 -0.1654)
OKLCHoklch(63.91% 0.166 272.4)
XYZxyz(29.4886, 25.0562, 84.9270)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B81EF #EFD96B
analogous
#6BC3EF #6B81EF #976BEF
triadic
#6B81EF #EF6B81 #81EF6B
tetradic
#6B81EF #EF6BC3 #EFD96B #6BEF97
square
#6B81EF #EF6BC3 #EFD96B #6BEF97
split-complementary
#6B81EF #EF976B #C3EF6B
monochromatic
#1634CA #3452E9 #6B81EF #A2B0F5 #D9DFFB

Accessibility & contrast

On white

3.49
#6B81EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#6B81EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B81EF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B81EF#FFFFFF#000000##000000
##6B81EF1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#3D84ED
Tritanopia (blue-blind)
#1F99AC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6b81ef;
/* rgb */ color: rgb(107, 129, 239);
/* oklch */ color: oklch(63.9% 0.166 272.4);
Tailwind
colors: {
  custom: {
    50: '#9ea5f5',
    500: '#6b81ef',
    950: '#000000',
  },
}
SCSS
$custom: #6b81ef;
$custom-light: #9ea5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b81ef",
  "rgb": {
    "r": 107,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 230,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63912,
    "c": 0.16551,
    "h": 272.4
  },
  "luminance": 0.25058
}

Semantic roles & 50–950 ramp

primary
#6B81EF
secondary
#EFE8C7
accent
#B909DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6B81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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