#6154EF#6154EF

#6154EF is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.3% C 0.223 H 279.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6154EF
RGBrgb(97, 84, 239)
HSLhsl(245, 83%, 63%)
HSVhsv(245, 65%, 94%)
CMYKcmyk(59.4%, 64.9%, 0%, 6.3%)
CIE-LABlab(45.79, 48.27, -76.40)
CIE-LCHlch(45.79, 90.37, 302.29°)
OKLaboklab(55.3% 0.0386 -0.22)
OKLCHoklch(55.3% 0.223 279.9)
XYZxyz(23.6751, 15.1123, 83.3140)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154EF #E2EF54
analogous
#5494EF #6154EF #AE54EF
triadic
#6154EF #EF6154 #54EF61
tetradic
#6154EF #EF5494 #E2EF54 #54EFAE
square
#6154EF #EF5494 #E2EF54 #54EFAE
split-complementary
#6154EF #EFAE54 #94EF54
monochromatic
#1F11B7 #2D1CEA #6154EF #958CF4 #C8C4F9

Accessibility & contrast

On white

5.22
#6154EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6154EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154EF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154EF#FFFFFF#000000##FFFFFF
##6154EF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0066EC
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6154ef;
/* rgb */ color: rgb(97, 84, 239);
/* oklch */ color: oklch(55.3% 0.223 279.9);
Tailwind
colors: {
  custom: {
    50: '#9c85f5',
    500: '#6154ef',
    950: '#000000',
  },
}
SCSS
$custom: #6154ef;
$custom-light: #9c85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6154ef",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 245.032,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55295,
    "c": 0.22336,
    "h": 279.9
  },
  "luminance": 0.15114
}

Semantic roles & 50–950 ramp

primary
#6154EF
secondary
#E6EBB4
accent
#DF06CD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6154EF

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

Preview Lab → · Contrast checker → · Palette generator →

#6154EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva