#6A7EA2#6A7EA2

#6A7EA2 is a mid, moderate blue. Relative luminance 0.206; OKLCH L 59.1% C 0.060 H 262.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6A7EA2
RGBrgb(106, 126, 162)
HSLhsl(219, 23%, 53%)
HSVhsv(219, 35%, 64%)
CMYKcmyk(34.6%, 22.2%, 0%, 36.5%)
CIE-LABlab(52.50, 1.75, -21.58)
CIE-LCHlch(52.50, 21.66, 274.64°)
OKLaboklab(59.1% -0.0084 -0.0597)
OKLCHoklch(59.1% 0.06 262)
XYZxyz(19.9244, 20.5937, 37.1006)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7EA2 #A28E6A
analogous
#6A9AA2 #6A7EA2 #726AA2
triadic
#6A7EA2 #A26A7E #7EA26A
tetradic
#6A7EA2 #A26A9A #A28E6A #6AA272
square
#6A7EA2 #A26A9A #A28E6A #6AA272
split-complementary
#6A7EA2 #A2726A #9AA26A
monochromatic
#38445A #4F617F #6A7EA2 #909FBA #B5BFD1

Accessibility & contrast

On white

4.10
#6A7EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#6A7EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7EA2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7EA2#FFFFFF#000000##000000
##6A7EA21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7280A4
Deuteranopia (green-blind)
#6C7BA1
Tritanopia (blue-blind)
#59858A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6a7ea2;
/* rgb */ color: rgb(106, 126, 162);
/* oklch */ color: oklch(59.1% 0.060 262.0);
Tailwind
colors: {
  custom: {
    50: '#96a3bd',
    500: '#6a7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #6a7ea2;
$custom-light: #96a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7ea2",
  "rgb": {
    "r": 106,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 218.571,
    "s": 23.14,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59098,
    "c": 0.06025,
    "h": 262
  },
  "luminance": 0.20595
}

Semantic roles & 50–950 ramp

primary
#6A7EA2
secondary
#C0B7A8
accent
#A068C0
background
#F9FAFB
surface
#F2F3F6
border
#CCCDD0
text
#0D0F12
muted
#7E7F81

Preview Lab

Preview with #6A7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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