#6255BC#6255BC

#6255BC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.6% C 0.156 H 285.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6255BC
RGBrgb(98, 85, 188)
HSLhsl(248, 43%, 54%)
HSVhsv(248, 55%, 74%)
CMYKcmyk(47.9%, 54.8%, 0%, 26.3%)
CIE-LABlab(42.34, 32.20, -52.78)
CIE-LCHlch(42.34, 61.83, 301.39°)
OKLaboklab(51.61% 0.0411 -0.1505)
OKLCHoklch(51.61% 0.156 285.3)
XYZxyz(17.3599, 12.7237, 49.1084)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255BC #AFBC55
analogous
#557BBC #6255BC #9555BC
triadic
#6255BC #BC6255 #55BC62
tetradic
#6255BC #BC557B #AFBC55 #55BC95
square
#6255BC #BC557B #AFBC55 #55BC95
split-complementary
#6255BC #BC9555 #7BBC55
monochromatic
#332B6C #473C98 #6255BC #8B81CD #B3ADDF

Accessibility & contrast

On white

5.92
#6255BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6255BC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255BC#FFFFFF#000000##FFFFFF
##6255BC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67C0
Deuteranopia (green-blind)
#1761BA
Tritanopia (blue-blind)
#436C80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6255bc;
/* rgb */ color: rgb(98, 85, 188);
/* oklch */ color: oklch(51.6% 0.156 285.3);
Tailwind
colors: {
  custom: {
    50: '#9585d1',
    500: '#6255bc',
    950: '#000000',
  },
}
SCSS
$custom: #6255bc;
$custom-light: #9585d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6255bc",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 247.573,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5161,
    "c": 0.15607,
    "h": 285.3
  },
  "luminance": 0.12725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6255BC

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

Preview Lab → · Contrast checker → · Palette generator →

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