#6B6FEF#6B6FEF

#6B6FEF is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.5% C 0.188 H 277.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6B6FEF
RGBrgb(107, 111, 239)
HSLhsl(238, 80%, 68%)
HSVhsv(238, 55%, 94%)
CMYKcmyk(55.2%, 53.6%, 0%, 6.3%)
CIE-LABlab(52.65, 34.10, -65.22)
CIE-LCHlch(52.65, 73.60, 297.60°)
OKLaboklab(60.53% 0.0256 -0.1867)
OKLCHoklch(60.53% 0.188 277.8)
XYZxyz(27.3229, 20.7248, 84.2051)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6FEF #EFEB6B
analogous
#6BB1EF #6B6FEF #A96BEF
triadic
#6B6FEF #EF6B6F #6FEF6B
tetradic
#6B6FEF #EF6BB1 #EFEB6B #6BEFA9
square
#6B6FEF #EF6BB1 #EFEB6B #6BEFA9
split-complementary
#6B6FEF #EFA96B #B1EF6B
monochromatic
#161BCA #3439E9 #6B6FEF #A2A5F5 #D9DAFB

Accessibility & contrast

On white

4.08
#6B6FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#6B6FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B6FEF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6FEF#FFFFFF#000000##000000
##6B6FEF1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E83F3
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#258CA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6b6fef;
/* rgb */ color: rgb(107, 111, 239);
/* oklch */ color: oklch(60.5% 0.188 277.8);
Tailwind
colors: {
  custom: {
    50: '#9f98f5',
    500: '#6b6fef',
    950: '#000000',
  },
}
SCSS
$custom: #6b6fef;
$custom-light: #9f98f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6fef",
  "rgb": {
    "r": 107,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 238.182,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6053,
    "c": 0.18847,
    "h": 277.8
  },
  "luminance": 0.20727
}

Semantic roles & 50–950 ramp

primary
#6B6FEF
secondary
#EFEEC7
accent
#D609DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6B6FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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