#6954E8#6954E8

#6954E8 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.3% C 0.214 H 283.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6954E8
RGBrgb(105, 84, 232)
HSLhsl(249, 76%, 62%)
HSVhsv(249, 64%, 91%)
CMYKcmyk(54.7%, 63.8%, 0%, 9%)
CIE-LABlab(45.86, 47.42, -72.30)
CIE-LCHlch(45.86, 86.46, 303.26°)
OKLaboklab(55.34% 0.0494 -0.2077)
OKLCHoklch(55.34% 0.214 283.4)
XYZxyz(23.5571, 15.1687, 78.0148)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954E8 #D3E854
analogous
#5489E8 #6954E8 #B354E8
triadic
#6954E8 #E86954 #54E869
tetradic
#6954E8 #E85489 #D3E854 #54E8B3
square
#6954E8 #E85489 #D3E854 #54E8B3
split-complementary
#6954E8 #E8B354 #89E854
monochromatic
#2C17AB #3A1EE1 #6954E8 #988AEF #C8C0F7

Accessibility & contrast

On white

5.21
#6954E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6954E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6954E8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954E8#FFFFFF#000000##FFFFFF
##6954E81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0068E5
Tritanopia (blue-blind)
#2D7996
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6954e8;
/* rgb */ color: rgb(105, 84, 232);
/* oklch */ color: oklch(55.3% 0.214 283.4);
Tailwind
colors: {
  custom: {
    50: '#9f85f0',
    500: '#6954e8',
    950: '#000000',
  },
}
SCSS
$custom: #6954e8;
$custom-light: #9f85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6954e8",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 248.514,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55336,
    "c": 0.21354,
    "h": 283.4
  },
  "luminance": 0.1517
}

Semantic roles & 50–950 ramp

primary
#6954E8
secondary
#DFE7B1
accent
#D80DBC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6954E8

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

Preview Lab → · Contrast checker → · Palette generator →

#6954E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva