#6954E1#6954E1

#6954E1 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.8% C 0.205 H 284.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6954E1
RGBrgb(105, 84, 225)
HSLhsl(249, 70%, 61%)
HSVhsv(249, 63%, 88%)
CMYKcmyk(53.3%, 62.7%, 0%, 11.8%)
CIE-LABlab(45.33, 45.33, -69.21)
CIE-LCHlch(45.33, 82.73, 303.22°)
OKLaboklab(54.78% 0.0501 -0.1987)
OKLCHoklch(54.78% 0.205 284.1)
XYZxyz(22.5825, 14.7789, 72.8822)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954E1 #CCE154
analogous
#5485E1 #6954E1 #AF54E1
triadic
#6954E1 #E16954 #54E169
tetradic
#6954E1 #E15485 #CCE154 #54E1AF
square
#6954E1 #E15485 #CCE154 #54E1AF
split-complementary
#6954E1 #E1AF54 #85E154
monochromatic
#2F1C9F #3F25D3 #6954E1 #9788EA #C4BCF3

Accessibility & contrast

On white

5.31
#6954E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6954E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6954E1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954E1#FFFFFF#000000##FFFFFF
##6954E11.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#357693
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6954e1;
/* rgb */ color: rgb(105, 84, 225);
/* oklch */ color: oklch(54.8% 0.205 284.1);
Tailwind
colors: {
  custom: {
    50: '#9e85eb',
    500: '#6954e1',
    950: '#000000',
  },
}
SCSS
$custom: #6954e1;
$custom-light: #9e85eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6954e1",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 248.936,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54781,
    "c": 0.20487,
    "h": 284.1
  },
  "luminance": 0.1478
}

Semantic roles & 50–950 ramp

primary
#6954E1
secondary
#DBE3AE
accent
#D213B6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6954E1

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

Preview Lab → · Contrast checker → · Palette generator →

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