#6255BB#6255BB

#6255BB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.155 H 285.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6255BB
RGBrgb(98, 85, 187)
HSLhsl(248, 43%, 53%)
HSVhsv(248, 55%, 73%)
CMYKcmyk(47.6%, 54.5%, 0%, 26.7%)
CIE-LABlab(42.28, 31.90, -52.31)
CIE-LCHlch(42.28, 61.27, 301.38°)
OKLaboklab(51.54% 0.0411 -0.1491)
OKLCHoklch(51.54% 0.155 285.4)
XYZxyz(17.2525, 12.6807, 48.5426)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255BB #AEBB55
analogous
#557BBB #6255BB #9555BB
triadic
#6255BB #BB6255 #55BB62
tetradic
#6255BB #BB557B #AEBB55 #55BB95
square
#6255BB #BB557B #AEBB55 #55BB95
split-complementary
#6255BB #BB9555 #7BBB55
monochromatic
#332B6B #483C97 #6255BB #8A81CC #B3ACDE

Accessibility & contrast

On white

5.94
#6255BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6255BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6255BB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255BB#FFFFFF#000000##FFFFFF
##6255BB1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BE
Deuteranopia (green-blind)
#1961B9
Tritanopia (blue-blind)
#446B80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6255bb;
/* rgb */ color: rgb(98, 85, 187);
/* oklch */ color: oklch(51.5% 0.155 285.4);
Tailwind
colors: {
  custom: {
    50: '#9585d0',
    500: '#6255bb',
    950: '#000000',
  },
}
SCSS
$custom: #6255bb;
$custom-light: #9585d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6255bb",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 247.647,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51541,
    "c": 0.15471,
    "h": 285.4
  },
  "luminance": 0.12682
}

Semantic roles & 50–950 ramp

primary
#6255BB
secondary
#C6CCA0
accent
#D355C3
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6255BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6255BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva