#6A74F2#6A74F2

#6A74F2 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.6% C 0.186 H 276.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6A74F2
RGBrgb(106, 116, 242)
HSLhsl(236, 84%, 68%)
HSVhsv(236, 56%, 95%)
CMYKcmyk(56.2%, 52.1%, 0%, 5.1%)
CIE-LABlab(53.99, 31.85, -64.73)
CIE-LCHlch(53.99, 72.14, 296.20°)
OKLaboklab(61.58% 0.0196 -0.1853)
OKLCHoklch(61.58% 0.186 276.1)
XYZxyz(28.2111, 21.9638, 86.7400)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A74F2 #F2E86A
analogous
#6AB8F2 #6A74F2 #A46AF2
triadic
#6A74F2 #F26A74 #74F26A
tetradic
#6A74F2 #F26AB8 #F2E86A #6AF2A4
square
#6A74F2 #F26AB8 #F2E86A #6AF2A4
split-complementary
#6A74F2 #F2A46A #B8F26A
monochromatic
#1220CF #323FED #6A74F2 #A2A9F7 #DBDDFC

Accessibility & contrast

On white

3.89
#6A74F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#6A74F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A74F2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A74F2#FFFFFF#000000##000000
##6A74F21.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B87F6
Deuteranopia (green-blind)
#037CEF
Tritanopia (blue-blind)
#1791A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6a74f2;
/* rgb */ color: rgb(106, 116, 242);
/* oklch */ color: oklch(61.6% 0.186 276.1);
Tailwind
colors: {
  custom: {
    50: '#9f9cf7',
    500: '#6a74f2',
    950: '#000000',
  },
}
SCSS
$custom: #6a74f2;
$custom-light: #9f9cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a74f2",
  "rgb": {
    "r": 106,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 235.588,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61579,
    "c": 0.1863,
    "h": 276.1
  },
  "luminance": 0.21966
}

Semantic roles & 50–950 ramp

primary
#6A74F2
secondary
#F1EDC7
accent
#D005E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6A74F2

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

Preview Lab → · Contrast checker → · Palette generator →

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