#6255BD#6255BD

#6255BD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.157 H 285.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6255BD
RGBrgb(98, 85, 189)
HSLhsl(248, 44%, 54%)
HSVhsv(248, 55%, 74%)
CMYKcmyk(48.1%, 55%, 0%, 25.9%)
CIE-LABlab(42.41, 32.51, -53.26)
CIE-LCHlch(42.41, 62.40, 301.40°)
OKLaboklab(51.68% 0.0412 -0.152)
OKLCHoklch(51.68% 0.157 285.2)
XYZxyz(17.4681, 12.7670, 49.6781)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255BD #B0BD55
analogous
#557CBD #6255BD #9655BD
triadic
#6255BD #BD6255 #55BD62
tetradic
#6255BD #BD557C #B0BD55 #55BD96
square
#6255BD #BD557C #B0BD55 #55BD96
split-complementary
#6255BD #BD9655 #7CBD55
monochromatic
#332A6D #473C99 #6255BD #8B81CE #B3ADDF

Accessibility & contrast

On white

5.91
#6255BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6255BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6255BD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255BD#FFFFFF#000000##FFFFFF
##6255BD1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1967C1
Deuteranopia (green-blind)
#1461BB
Tritanopia (blue-blind)
#436C81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6255bd;
/* rgb */ color: rgb(98, 85, 189);
/* oklch */ color: oklch(51.7% 0.157 285.2);
Tailwind
colors: {
  custom: {
    50: '#9585d1',
    500: '#6255bd',
    950: '#000000',
  },
}
SCSS
$custom: #6255bd;
$custom-light: #9585d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6255bd",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 189
  },
  "hsl": {
    "h": 247.5,
    "s": 44.068,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51681,
    "c": 0.15744,
    "h": 285.2
  },
  "luminance": 0.12768
}

Semantic roles & 50–950 ramp

primary
#6255BD
secondary
#C8CDA1
accent
#D454C4
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6255BD

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

Preview Lab → · Contrast checker → · Palette generator →

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