#6872BE#6872BE

#6872BE is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.8% C 0.117 H 276.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6872BE
RGBrgb(104, 114, 190)
HSLhsl(233, 40%, 58%)
HSVhsv(233, 45%, 75%)
CMYKcmyk(45.3%, 40%, 0%, 25.5%)
CIE-LABlab(50.33, 16.46, -41.17)
CIE-LCHlch(50.33, 44.34, 291.79°)
OKLaboklab(57.8% 0.0131 -0.1162)
OKLCHoklch(57.8% 0.117 276.4)
XYZxyz(21.0177, 18.6943, 51.2061)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872BE #BEB468
analogous
#689DBE #6872BE #8968BE
triadic
#6872BE #BE6872 #72BE68
tetradic
#6872BE #BE689D #BEB468 #68BE89
square
#6872BE #BE689D #BEB468 #68BE89
split-complementary
#6872BE #BE8968 #9DBE68
monochromatic
#343C78 #4651A3 #6872BE #939AD0 #BEC2E3

Accessibility & contrast

On white

4.43
#6872BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#6872BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872BE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872BE#FFFFFF#000000##000000
##6872BE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#567BC1
Deuteranopia (green-blind)
#4F75BC
Tritanopia (blue-blind)
#4A828F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6872be;
/* rgb */ color: rgb(104, 114, 190);
/* oklch */ color: oklch(57.8% 0.117 276.4);
Tailwind
colors: {
  custom: {
    50: '#979ad2',
    500: '#6872be',
    950: '#000000',
  },
}
SCSS
$custom: #6872be;
$custom-light: #979ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#6872be",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 190
  },
  "hsl": {
    "h": 233.023,
    "s": 39.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57796,
    "c": 0.11693,
    "h": 276.4
  },
  "luminance": 0.18695
}

Semantic roles & 50–950 ramp

primary
#6872BE
secondary
#D2CEB0
accent
#C258D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #6872BE

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

Preview Lab → · Contrast checker → · Palette generator →

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