#6B5FEB#6B5FEB

#6B5FEB is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.5% C 0.204 H 281.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6B5FEB
RGBrgb(107, 95, 235)
HSLhsl(245, 78%, 65%)
HSVhsv(245, 60%, 92%)
CMYKcmyk(54.5%, 59.6%, 0%, 7.8%)
CIE-LABlab(48.64, 42.34, -69.46)
CIE-LCHlch(48.64, 81.35, 301.37°)
OKLaboklab(57.48% 0.0414 -0.1993)
OKLCHoklch(57.48% 0.204 281.7)
XYZxyz(25.1464, 17.3068, 80.5966)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5FEB #DFEB5F
analogous
#5F99EB #6B5FEB #B15FEB
triadic
#6B5FEB #EB6B5F #5FEB6B
tetradic
#6B5FEB #EB5F99 #DFEB5F #5FEBB1
square
#6B5FEB #EB5F99 #DFEB5F #5FEBB1
split-complementary
#6B5FEB #EBB15F #99EB5F
monochromatic
#2517B9 #3929E4 #6B5FEB #9D95F2 #D0CCF9

Accessibility & contrast

On white

4.71
#6B5FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6B5FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5FEB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5FEB#FFFFFF#000000##FFFFFF
##6B5FEB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#2E809C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6b5feb;
/* rgb */ color: rgb(107, 95, 235);
/* oklch */ color: oklch(57.5% 0.204 281.7);
Tailwind
colors: {
  custom: {
    50: '#a08df2',
    500: '#6b5feb',
    950: '#000000',
  },
}
SCSS
$custom: #6b5feb;
$custom-light: #a08df2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5feb",
  "rgb": {
    "r": 107,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 245.143,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57476,
    "c": 0.20356,
    "h": 281.7
  },
  "luminance": 0.17308
}

Semantic roles & 50–950 ramp

primary
#6B5FEB
secondary
#E7EBBB
accent
#DA0BC8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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