#6A7BDF#6A7BDF

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

Color values

HEX#6A7BDF
RGBrgb(106, 123, 223)
HSLhsl(231, 65%, 65%)
HSVhsv(231, 52%, 87%)
CMYKcmyk(52.5%, 44.8%, 0%, 12.5%)
CIE-LABlab(54.61, 21.63, -53.11)
CIE-LCHlch(54.61, 57.35, 292.16°)
OKLaboklab(61.68% 0.0102 -0.151)
OKLCHoklch(61.68% 0.151 273.9)
XYZxyz(26.3418, 22.5561, 72.7634)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7BDF #DFCE6A
analogous
#6AB6DF #6A7BDF #946ADF
triadic
#6A7BDF #DF6A7B #7BDF6A
tetradic
#6A7BDF #DF6AB6 #DFCE6A #6ADF94
square
#6A7BDF #DF6AB6 #DFCE6A #6ADF94
split-complementary
#6A7BDF #DF946A #B6DF6A
monochromatic
#2538AA #384ED4 #6A7BDF #9CA8EA #CFD4F5

Accessibility & contrast

On white

3.81
#6A7BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#6A7BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7BDF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7BDF#FFFFFF#000000##000000
##6A7BDF1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5088E3
Deuteranopia (green-blind)
#427EDD
Tritanopia (blue-blind)
#3491A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6a7bdf;
/* rgb */ color: rgb(106, 123, 223);
/* oklch */ color: oklch(61.7% 0.151 273.9);
Tailwind
colors: {
  custom: {
    50: '#9ca0e9',
    500: '#6a7bdf',
    950: '#000000',
  },
}
SCSS
$custom: #6a7bdf;
$custom-light: #9ca0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7bdf",
  "rgb": {
    "r": 106,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 231.282,
    "s": 64.641,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61684,
    "c": 0.15139,
    "h": 273.9
  },
  "luminance": 0.22558
}

Semantic roles & 50–950 ramp

primary
#6A7BDF
secondary
#E7E1BE
accent
#B219CC
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6A7BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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