#6A79F2#6A79F2

#6A79F2 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.5% C 0.180 H 274.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#6A79F2
RGBrgb(106, 121, 242)
HSLhsl(233, 84%, 68%)
HSVhsv(233, 56%, 95%)
CMYKcmyk(56.2%, 50%, 0%, 5.1%)
CIE-LABlab(55.22, 28.84, -62.74)
CIE-LCHlch(55.22, 69.06, 294.69°)
OKLaboklab(62.51% 0.0146 -0.1794)
OKLCHoklch(62.51% 0.18 274.6)
XYZxyz(28.8030, 23.1476, 86.9373)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A79F2 #F2E36A
analogous
#6ABDF2 #6A79F2 #9F6AF2
triadic
#6A79F2 #F26A79 #79F26A
tetradic
#6A79F2 #F26ABD #F2E36A #6AF29F
square
#6A79F2 #F26ABD #F2E36A #6AF29F
split-complementary
#6A79F2 #F29F6A #BDF26A
monochromatic
#1227CF #3246ED #6A79F2 #A2ACF7 #DBDEFC

Accessibility & contrast

On white

3.73
#6A79F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#6A79F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A79F2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A79F2#FFFFFF#000000##000000
##6A79F21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#398AF6
Deuteranopia (green-blind)
#217FEF
Tritanopia (blue-blind)
#1594AA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6a79f2;
/* rgb */ color: rgb(106, 121, 242);
/* oklch */ color: oklch(62.5% 0.180 274.6);
Tailwind
colors: {
  custom: {
    50: '#9f9ff7',
    500: '#6a79f2',
    950: '#000000',
  },
}
SCSS
$custom: #6a79f2;
$custom-light: #9f9ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a79f2",
  "rgb": {
    "r": 106,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 233.382,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62509,
    "c": 0.17995,
    "h": 274.6
  },
  "luminance": 0.2315
}

Semantic roles & 50–950 ramp

primary
#6A79F2
secondary
#F1ECC7
accent
#C805E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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