#6255BF#6255BF

#6255BF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.160 H 284.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6255BF
RGBrgb(98, 85, 191)
HSLhsl(247, 45%, 54%)
HSVhsv(247, 55%, 75%)
CMYKcmyk(48.7%, 55.5%, 0%, 25.1%)
CIE-LABlab(42.54, 33.12, -54.21)
CIE-LCHlch(42.54, 63.53, 301.42°)
OKLaboklab(51.82% 0.0412 -0.1547)
OKLCHoklch(51.82% 0.16 284.9)
XYZxyz(17.6867, 12.8544, 50.8293)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255BF #B2BF55
analogous
#557DBF #6255BF #9755BF
triadic
#6255BF #BF6255 #55BF62
tetradic
#6255BF #BF557D #B2BF55 #55BF97
square
#6255BF #BF557D #B2BF55 #55BF97
split-complementary
#6255BF #BF9755 #7DBF55
monochromatic
#332A70 #473B9C #6255BF #8B81D0 #B4AEE0

Accessibility & contrast

On white

5.88
#6255BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6255BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6255BF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255BF#FFFFFF#000000##FFFFFF
##6255BF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#0E61BD
Tritanopia (blue-blind)
#416D82
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6255bf;
/* rgb */ color: rgb(98, 85, 191);
/* oklch */ color: oklch(51.8% 0.160 284.9);
Tailwind
colors: {
  custom: {
    50: '#9585d3',
    500: '#6255bf',
    950: '#000000',
  },
}
SCSS
$custom: #6255bf;
$custom-light: #9585d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6255bf",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 247.358,
    "s": 45.299,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51822,
    "c": 0.16015,
    "h": 284.9
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

primary
#6255BF
secondary
#C9CEA1
accent
#D553C5
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6255BF

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

Preview Lab → · Contrast checker → · Palette generator →

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