#6A7AF2#6A7AF2

#6A7AF2 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.7% C 0.179 H 274.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6A7AF2
RGBrgb(106, 122, 242)
HSLhsl(233, 84%, 68%)
HSVhsv(233, 56%, 95%)
CMYKcmyk(56.2%, 49.6%, 0%, 5.1%)
CIE-LABlab(55.47, 28.24, -62.34)
CIE-LCHlch(55.47, 68.44, 294.37°)
OKLaboklab(62.7% 0.0136 -0.1782)
OKLCHoklch(62.7% 0.179 274.3)
XYZxyz(28.9252, 23.3919, 86.9780)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7AF2 #F2E26A
analogous
#6ABEF2 #6A7AF2 #9E6AF2
triadic
#6A7AF2 #F26A7A #7AF26A
tetradic
#6A7AF2 #F26ABE #F2E26A #6AF29E
square
#6A7AF2 #F26ABE #F2E26A #6AF29E
split-complementary
#6A7AF2 #F29E6A #BEF26A
monochromatic
#1228CF #3248ED #6A7AF2 #A2ACF7 #DBDEFC

Accessibility & contrast

On white

3.70
#6A7AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#6A7AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7AF2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7AF2#FFFFFF#000000##000000
##6A7AF21.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8BF6
Deuteranopia (green-blind)
#247FEF
Tritanopia (blue-blind)
#1595AB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #6a7af2;
/* rgb */ color: rgb(106, 122, 242);
/* oklch */ color: oklch(62.7% 0.179 274.3);
Tailwind
colors: {
  custom: {
    50: '#9fa0f7',
    500: '#6a7af2',
    950: '#000000',
  },
}
SCSS
$custom: #6a7af2;
$custom-light: #9fa0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7af2",
  "rgb": {
    "r": 106,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 232.941,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62697,
    "c": 0.17868,
    "h": 274.3
  },
  "luminance": 0.23394
}

Semantic roles & 50–950 ramp

primary
#6A7AF2
secondary
#F1ECC7
accent
#C705E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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