#6154CF#6154CF

#6154CF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.7% C 0.183 H 282.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#6154CF
RGBrgb(97, 84, 207)
HSLhsl(246, 56%, 57%)
HSVhsv(246, 59%, 81%)
CMYKcmyk(53.1%, 59.4%, 0%, 18.8%)
CIE-LABlab(43.34, 38.41, -62.19)
CIE-LCHlch(43.34, 73.10, 301.70°)
OKLaboklab(52.74% 0.0409 -0.1782)
OKLCHoklch(52.74% 0.183 282.9)
XYZxyz(19.3591, 13.3859, 60.5830)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154CF #C2CF54
analogous
#5485CF #6154CF #9E54CF
triadic
#6154CF #CF6154 #54CF61
tetradic
#6154CF #CF5485 #C2CF54 #54CF9E
square
#6154CF #CF5485 #C2CF54 #54CF9E
split-complementary
#6154CF #CF9E54 #85CF54
monochromatic
#2F2584 #4032B3 #6154CF #8D84DC #B9B4EA

Accessibility & contrast

On white

5.71
#6154CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#6154CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154CF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154CF#FFFFFF#000000##FFFFFF
##6154CF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#327189
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6154cf;
/* rgb */ color: rgb(97, 84, 207);
/* oklch */ color: oklch(52.7% 0.183 282.9);
Tailwind
colors: {
  custom: {
    50: '#9785de',
    500: '#6154cf',
    950: '#000000',
  },
}
SCSS
$custom: #6154cf;
$custom-light: #9785de;
$custom-dark: #000000;
JSON
{
  "hex": "#6154cf",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 246.341,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52743,
    "c": 0.18289,
    "h": 282.9
  },
  "luminance": 0.13387
}

Semantic roles & 50–950 ramp

primary
#6154CF
secondary
#D3D8A6
accent
#DF48CF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6154CF

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

Preview Lab → · Contrast checker → · Palette generator →

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