#6874DF#6874DF

#6874DF is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.2% C 0.161 H 275.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6874DF
RGBrgb(104, 116, 223)
HSLhsl(234, 65%, 64%)
HSVhsv(234, 53%, 87%)
CMYKcmyk(53.4%, 48%, 0%, 12.5%)
CIE-LABlab(52.69, 25.45, -56.20)
CIE-LCHlch(52.69, 61.69, 294.36°)
OKLaboklab(60.19% 0.0158 -0.1602)
OKLCHoklch(60.19% 0.161 275.6)
XYZxyz(25.2693, 20.7599, 72.4732)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874DF #DFD368
analogous
#68AFDF #6874DF #9868DF
triadic
#6874DF #DF6874 #74DF68
tetradic
#6874DF #DF68AF #DFD368 #68DF98
square
#6874DF #DF68AF #DFD368 #68DF98
split-complementary
#6874DF #DF9868 #AFDF68
monochromatic
#2431A9 #3646D4 #6874DF #9BA2EA #CDD1F4

Accessibility & contrast

On white

4.08
#6874DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#6874DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874DF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874DF#FFFFFF#000000##000000
##6874DF1.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)
#4283E3
Deuteranopia (green-blind)
#3379DD
Tritanopia (blue-blind)
#2F8C9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6874df;
/* rgb */ color: rgb(104, 116, 223);
/* oklch */ color: oklch(60.2% 0.161 275.6);
Tailwind
colors: {
  custom: {
    50: '#9b9be9',
    500: '#6874df',
    950: '#000000',
  },
}
SCSS
$custom: #6874df;
$custom-light: #9b9be9;
$custom-dark: #000000;
JSON
{
  "hex": "#6874df",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 233.95,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60187,
    "c": 0.161,
    "h": 275.6
  },
  "luminance": 0.20762
}

Semantic roles & 50–950 ramp

primary
#6874DF
secondary
#E6E2BD
accent
#BB19CD
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6874DF

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

Preview Lab → · Contrast checker → · Palette generator →

#6874DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva