#6A74EB#6A74EB

#6A74EB is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.1% C 0.177 H 276.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6A74EB
RGBrgb(106, 116, 235)
HSLhsl(235, 76%, 67%)
HSVhsv(235, 55%, 92%)
CMYKcmyk(54.9%, 50.6%, 0%, 7.8%)
CIE-LABlab(53.55, 29.64, -61.54)
CIE-LCHlch(53.55, 68.30, 295.72°)
OKLaboklab(61.11% 0.0192 -0.1759)
OKLCHoklch(61.11% 0.177 276.2)
XYZxyz(27.1798, 21.5513, 81.3087)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A74EB #EBE16A
analogous
#6AB5EB #6A74EB #A16AEB
triadic
#6A74EB #EB6A74 #74EB6A
tetradic
#6A74EB #EB6AB5 #EBE16A #6AEBA1
square
#6A74EB #EB6AB5 #EBE16A #6AEBA1
split-complementary
#6A74EB #EBA16A #B5EB6A
monochromatic
#1A27C1 #3442E4 #6A74EB #A0A6F2 #D6D9F9

Accessibility & contrast

On white

3.95
#6A74EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#6A74EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A74EB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A74EB#FFFFFF#000000##000000
##6A74EB1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3585EF
Deuteranopia (green-blind)
#1F7BE8
Tritanopia (blue-blind)
#268FA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6a74eb;
/* rgb */ color: rgb(106, 116, 235);
/* oklch */ color: oklch(61.1% 0.177 276.2);
Tailwind
colors: {
  custom: {
    50: '#9e9bf2',
    500: '#6a74eb',
    950: '#000000',
  },
}
SCSS
$custom: #6a74eb;
$custom-light: #9e9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a74eb",
  "rgb": {
    "r": 106,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 235.349,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61107,
    "c": 0.17691,
    "h": 276.2
  },
  "luminance": 0.21553
}

Semantic roles & 50–950 ramp

primary
#6A74EB
secondary
#EDEAC4
accent
#C90DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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