#6B74EC#6B74EC

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

Color values

HEX#6B74EC
RGBrgb(107, 116, 236)
HSLhsl(236, 77%, 67%)
HSVhsv(236, 55%, 93%)
CMYKcmyk(54.7%, 50.8%, 0%, 7.5%)
CIE-LABlab(53.68, 30.15, -61.89)
CIE-LCHlch(53.68, 68.84, 295.97°)
OKLaboklab(61.24% 0.0203 -0.1769)
OKLCHoklch(61.24% 0.178 276.6)
XYZxyz(27.4443, 21.6709, 82.0773)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B74EC #ECE36B
analogous
#6BB5EC #6B74EC #A36BEC
triadic
#6B74EC #EC6B74 #74EC6B
tetradic
#6B74EC #EC6BB5 #ECE36B #6BECA3
square
#6B74EC #EC6BB5 #ECE36B #6BECA3
split-complementary
#6B74EC #ECA36B #B5EC6B
monochromatic
#1925C4 #3541E5 #6B74EC #A1A7F3 #D7DAFA

Accessibility & contrast

On white

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

On black

5.33
#6B74EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B74EC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B74EC#FFFFFF#000000##000000
##6B74EC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#1E7BE9
Tritanopia (blue-blind)
#288FA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6b74ec;
/* rgb */ color: rgb(107, 116, 236);
/* oklch */ color: oklch(61.2% 0.178 276.6);
Tailwind
colors: {
  custom: {
    50: '#9f9bf3',
    500: '#6b74ec',
    950: '#000000',
  },
}
SCSS
$custom: #6b74ec;
$custom-light: #9f9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b74ec",
  "rgb": {
    "r": 107,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 235.814,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6124,
    "c": 0.17803,
    "h": 276.6
  },
  "luminance": 0.21673
}

Semantic roles & 50–950 ramp

primary
#6B74EC
secondary
#EEEBC5
accent
#CB0CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6B74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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