#6A7AF5#6A7AF5

#6A7AF5 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.9% C 0.183 H 274.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6A7AF5
RGBrgb(106, 122, 245)
HSLhsl(233, 87%, 69%)
HSVhsv(233, 57%, 96%)
CMYKcmyk(56.7%, 50.2%, 0%, 3.9%)
CIE-LABlab(55.66, 29.20, -63.71)
CIE-LCHlch(55.66, 70.08, 294.62°)
OKLaboklab(62.9% 0.0138 -0.1822)
OKLCHoklch(62.9% 0.183 274.3)
XYZxyz(29.3795, 23.5736, 89.3705)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7AF5 #F5E56A
analogous
#6ABFF5 #6A7AF5 #A06AF5
triadic
#6A7AF5 #F56A7A #7AF56A
tetradic
#6A7AF5 #F56ABF #F5E56A #6AF5A0
square
#6A7AF5 #F56ABF #F5E56A #6AF5A0
split-complementary
#6A7AF5 #F5A06A #BFF56A
monochromatic
#0E25D6 #3147F1 #6A7AF5 #A3ADF9 #DDE0FD

Accessibility & contrast

On white

3.67
#6A7AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#6A7AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7AF5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7AF5#FFFFFF#000000##000000
##6A7AF51.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#388BF9
Deuteranopia (green-blind)
#1D80F2
Tritanopia (blue-blind)
#0996AC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #6a7af5;
/* rgb */ color: rgb(106, 122, 245);
/* oklch */ color: oklch(62.9% 0.183 274.3);
Tailwind
colors: {
  custom: {
    50: '#9fa0f9',
    500: '#6a7af5',
    950: '#000000',
  },
}
SCSS
$custom: #6a7af5;
$custom-light: #9fa0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7af5",
  "rgb": {
    "r": 106,
    "g": 122,
    "b": 245
  },
  "hsl": {
    "h": 233.094,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62896,
    "c": 0.18271,
    "h": 274.3
  },
  "luminance": 0.23576
}

Semantic roles & 50–950 ramp

primary
#6A7AF5
secondary
#F2EDC9
accent
#CA02E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6A7AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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