#6872DB#6872DB

#6872DB is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.5% C 0.158 H 276.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#6872DB
RGBrgb(104, 114, 219)
HSLhsl(235, 61%, 63%)
HSVhsv(235, 53%, 86%)
CMYKcmyk(52.5%, 47.9%, 0%, 14.1%)
CIE-LABlab(51.94, 25.40, -55.14)
CIE-LCHlch(51.94, 60.71, 294.74°)
OKLaboklab(59.55% 0.0176 -0.1571)
OKLCHoklch(59.55% 0.158 276.4)
XYZxyz(24.5084, 20.0906, 69.5905)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872DB #DBD168
analogous
#68ABDB #6872DB #9768DB
triadic
#6872DB #DB6872 #72DB68
tetradic
#6872DB #DB68AB #DBD168 #68DB97
square
#6872DB #DB68AB #DBD168 #68DB97
split-complementary
#6872DB #DB9768 #ABDB68
monochromatic
#2731A2 #3744CF #6872DB #99A0E7 #CBCEF3

Accessibility & contrast

On white

4.18
#6872DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#6872DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872DB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872DB#FFFFFF#000000##000000
##6872DB1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181DF
Deuteranopia (green-blind)
#3477D9
Tritanopia (blue-blind)
#34899C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6872db;
/* rgb */ color: rgb(104, 114, 219);
/* oklch */ color: oklch(59.5% 0.158 276.4);
Tailwind
colors: {
  custom: {
    50: '#9b9ae7',
    500: '#6872db',
    950: '#000000',
  },
}
SCSS
$custom: #6872db;
$custom-light: #9b9ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#6872db",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 234.783,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59546,
    "c": 0.1581,
    "h": 276.4
  },
  "luminance": 0.20092
}

Semantic roles & 50–950 ramp

primary
#6872DB
secondary
#E4E0BB
accent
#BA1CC9
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6872DB

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

Preview Lab → · Contrast checker → · Palette generator →

#6872DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva