#6A79CA#6A79CA

#6A79CA is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.0% C 0.124 H 274.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6A79CA
RGBrgb(106, 121, 202)
HSLhsl(231, 48%, 60%)
HSVhsv(231, 48%, 79%)
CMYKcmyk(47.5%, 40.1%, 0%, 20.8%)
CIE-LABlab(52.95, 16.34, -43.88)
CIE-LCHlch(52.95, 46.82, 290.43°)
OKLaboklab(60.05% 0.009 -0.124)
OKLCHoklch(60.05% 0.124 274.1)
XYZxyz(23.4386, 21.0018, 58.6844)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A79CA #CABB6A
analogous
#6AA9CA #6A79CA #8B6ACA
triadic
#6A79CA #CA6A79 #79CA6A
tetradic
#6A79CA #CA6AA9 #CABB6A #6ACA8B
square
#6A79CA #CA6AA9 #CABB6A #6ACA8B
split-complementary
#6A79CA #CA8B6A #A9CA6A
monochromatic
#313E89 #4153B6 #6A79CA #97A2DA #C4CAEA

Accessibility & contrast

On white

4.04
#6A79CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#6A79CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A79CA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A79CA#FFFFFF#000000##000000
##6A79CA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CD
Deuteranopia (green-blind)
#517BC8
Tritanopia (blue-blind)
#468A98
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a79ca;
/* rgb */ color: rgb(106, 121, 202);
/* oklch */ color: oklch(60.0% 0.124 274.1);
Tailwind
colors: {
  custom: {
    50: '#9a9fda',
    500: '#6a79ca',
    950: '#000000',
  },
}
SCSS
$custom: #6a79ca;
$custom-light: #9a9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#6a79ca",
  "rgb": {
    "r": 106,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 230.625,
    "s": 47.525,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60046,
    "c": 0.12434,
    "h": 274.1
  },
  "luminance": 0.21003
}

Semantic roles & 50–950 ramp

primary
#6A79CA
secondary
#DAD5B6
accent
#A42BBB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6A79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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