#6A7CDC#6A7CDC

#6A7CDC is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.7% C 0.146 H 273.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6A7CDC
RGBrgb(106, 124, 220)
HSLhsl(231, 62%, 64%)
HSVhsv(231, 52%, 86%)
CMYKcmyk(51.8%, 43.6%, 0%, 13.7%)
CIE-LABlab(54.70, 20.09, -51.28)
CIE-LCHlch(54.70, 55.07, 291.39°)
OKLaboklab(61.7% 0.0086 -0.1456)
OKLCHoklch(61.7% 0.146 273.4)
XYZxyz(26.0656, 22.6451, 70.6937)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7CDC #DCCA6A
analogous
#6AB5DC #6A7CDC #916ADC
triadic
#6A7CDC #DC6A7C #7CDC6A
tetradic
#6A7CDC #DC6AB5 #DCCA6A #6ADC91
square
#6A7CDC #DC6AB5 #DCCA6A #6ADC91
split-complementary
#6A7CDC #DC916A #B5DC6A
monochromatic
#273BA5 #3850D0 #6A7CDC #9CA8E8 #CDD3F3

Accessibility & contrast

On white

3.80
#6A7CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#6A7CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7CDC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7CDC#FFFFFF#000000##000000
##6A7CDC1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E0
Deuteranopia (green-blind)
#477EDA
Tritanopia (blue-blind)
#3691A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6a7cdc;
/* rgb */ color: rgb(106, 124, 220);
/* oklch */ color: oklch(61.7% 0.146 273.4);
Tailwind
colors: {
  custom: {
    50: '#9ca1e7',
    500: '#6a7cdc',
    950: '#000000',
  },
}
SCSS
$custom: #6a7cdc;
$custom-light: #9ca1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7cdc",
  "rgb": {
    "r": 106,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 230.526,
    "s": 61.957,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61701,
    "c": 0.14591,
    "h": 273.4
  },
  "luminance": 0.22647
}

Semantic roles & 50–950 ramp

primary
#6A7CDC
secondary
#E5DFBD
accent
#AE1CCA
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0F16
muted
#7F7E84

Preview Lab

Preview with #6A7CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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