#6874FB#6874FB

#6874FB is a light, vivid blue. Relative luminance 0.224; OKLCH L 62.1% C 0.199 H 275.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6874FB
RGBrgb(104, 116, 251)
HSLhsl(235, 95%, 70%)
HSVhsv(235, 59%, 98%)
CMYKcmyk(58.6%, 53.8%, 0%, 1.6%)
CIE-LABlab(54.45, 34.36, -69.00)
CIE-LCHlch(54.45, 77.08, 296.47°)
OKLaboklab(62.08% 0.0179 -0.1978)
OKLCHoklch(62.08% 0.199 275.2)
XYZxyz(29.3612, 22.3966, 94.0238)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874FB #FBEF68
analogous
#68BEFB #6874FB #A668FB
triadic
#6874FB #FB6874 #74FB68
tetradic
#6874FB #FB68BE #FBEF68 #68FBA6
square
#6874FB #FB68BE #FBEF68 #68FBA6
split-complementary
#6874FB #FBA668 #BEFB68
monochromatic
#0618E3 #2C3DF9 #6874FB #A4ABFD #DFE2FE

Accessibility & contrast

On white

3.83
#6874FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#6874FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874FB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874FB#FFFFFF#000000##000000
##6874FB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1589FF
Deuteranopia (green-blind)
#007CF8
Tritanopia (blue-blind)
#0094AC
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6874fb;
/* rgb */ color: rgb(104, 116, 251);
/* oklch */ color: oklch(62.1% 0.199 275.2);
Tailwind
colors: {
  custom: {
    50: '#9f9cfd',
    500: '#6874fb',
    950: '#000000',
  },
}
SCSS
$custom: #6874fb;
$custom-light: #9f9cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#6874fb",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 235.102,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62075,
    "c": 0.19866,
    "h": 275.2
  },
  "luminance": 0.22399
}

Semantic roles & 50–950 ramp

primary
#6874FB
secondary
#F4F1CA
accent
#D300E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6874FB

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

Preview Lab → · Contrast checker → · Palette generator →

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