#6254BC#6254BC

#6254BC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.157 H 285.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6254BC
RGBrgb(98, 84, 188)
HSLhsl(248, 44%, 53%)
HSVhsv(248, 55%, 74%)
CMYKcmyk(47.9%, 55.3%, 0%, 26.3%)
CIE-LABlab(42.10, 32.81, -53.17)
CIE-LCHlch(42.10, 62.48, 301.68°)
OKLaboklab(51.43% 0.0423 -0.1517)
OKLCHoklch(51.43% 0.157 285.6)
XYZxyz(17.2818, 12.5674, 49.0824)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6254BC #AEBC54
analogous
#547ABC #6254BC #9654BC
triadic
#6254BC #BC6254 #54BC62
tetradic
#6254BC #BC547A #AEBC54 #54BC96
square
#6254BC #BC547A #AEBC54 #54BC96
split-complementary
#6254BC #BC9654 #7ABC54
monochromatic
#332A6B #483B97 #6254BC #8A80CD #B3ACDE

Accessibility & contrast

On white

5.98
#6254BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6254BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6254BC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6254BC#FFFFFF#000000##FFFFFF
##6254BC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866C0
Deuteranopia (green-blind)
#1360BA
Tritanopia (blue-blind)
#436B80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6254bc;
/* rgb */ color: rgb(98, 84, 188);
/* oklch */ color: oklch(51.4% 0.157 285.6);
Tailwind
colors: {
  custom: {
    50: '#9584d1',
    500: '#6254bc',
    950: '#000000',
  },
}
SCSS
$custom: #6254bc;
$custom-light: #9584d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6254bc",
  "rgb": {
    "r": 98,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 248.077,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51432,
    "c": 0.15749,
    "h": 285.6
  },
  "luminance": 0.12568
}

Semantic roles & 50–950 ramp

primary
#6254BC
secondary
#C6CCA0
accent
#D354C2
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6254BC

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

Preview Lab → · Contrast checker → · Palette generator →

#6254BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva