#6C74EB#6C74EB

#6C74EB is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.2% C 0.176 H 276.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6C74EB
RGBrgb(108, 116, 235)
HSLhsl(236, 76%, 67%)
HSVhsv(236, 54%, 92%)
CMYKcmyk(54%, 50.6%, 0%, 7.8%)
CIE-LABlab(53.68, 30.03, -61.32)
CIE-LCHlch(53.68, 68.28, 296.09°)
OKLaboklab(61.24% 0.0213 -0.1752)
OKLCHoklch(61.24% 0.176 276.9)
XYZxyz(27.4204, 21.6753, 81.3200)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C74EB #EBE36C
analogous
#6CB4EB #6C74EB #A36CEB
triadic
#6C74EB #EB6C74 #74EB6C
tetradic
#6C74EB #EB6CB4 #EBE36C #6CEBA3
square
#6C74EB #EB6CB4 #EBE36C #6CEBA3
split-complementary
#6C74EB #EBA36C #B4EB6C
monochromatic
#1A25C2 #3641E4 #6C74EB #A2A7F2 #D8DAFA

Accessibility & contrast

On white

3.94
#6C74EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#6C74EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C74EB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C74EB#FFFFFF#000000##000000
##6C74EB1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686EF
Deuteranopia (green-blind)
#227BE8
Tritanopia (blue-blind)
#2D8FA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c74eb;
/* rgb */ color: rgb(108, 116, 235);
/* oklch */ color: oklch(61.2% 0.176 276.9);
Tailwind
colors: {
  custom: {
    50: '#9f9cf2',
    500: '#6c74eb',
    950: '#000000',
  },
}
SCSS
$custom: #6c74eb;
$custom-light: #9f9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c74eb",
  "rgb": {
    "r": 108,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 236.22,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61241,
    "c": 0.17647,
    "h": 276.9
  },
  "luminance": 0.21677
}

Semantic roles & 50–950 ramp

primary
#6C74EB
secondary
#EDEBC5
accent
#CB0DD8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6C74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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