#6255BE#6255BE

#6255BE is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.159 H 285.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6255BE
RGBrgb(98, 85, 190)
HSLhsl(247, 45%, 54%)
HSVhsv(247, 55%, 75%)
CMYKcmyk(48.4%, 55.3%, 0%, 25.5%)
CIE-LABlab(42.48, 32.81, -53.74)
CIE-LCHlch(42.48, 62.96, 301.41°)
OKLaboklab(51.75% 0.0412 -0.1534)
OKLCHoklch(51.75% 0.159 285)
XYZxyz(17.5770, 12.8105, 50.2517)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255BE #B1BE55
analogous
#557DBE #6255BE #9755BE
triadic
#6255BE #BE6255 #55BE62
tetradic
#6255BE #BE557D #B1BE55 #55BE97
square
#6255BE #BE557D #B1BE55 #55BE97
split-complementary
#6255BE #BE9755 #7DBE55
monochromatic
#332A6E #473B9B #6255BE #8B81CF #B4AEE0

Accessibility & contrast

On white

5.90
#6255BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6255BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6255BE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255BE#FFFFFF#000000##FFFFFF
##6255BE1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C2
Deuteranopia (green-blind)
#1161BC
Tritanopia (blue-blind)
#426C81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6255be;
/* rgb */ color: rgb(98, 85, 190);
/* oklch */ color: oklch(51.8% 0.159 285.0);
Tailwind
colors: {
  custom: {
    50: '#9585d2',
    500: '#6255be',
    950: '#000000',
  },
}
SCSS
$custom: #6255be;
$custom-light: #9585d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6255be",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 247.429,
    "s": 44.681,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51751,
    "c": 0.1588,
    "h": 285
  },
  "luminance": 0.12811
}

Semantic roles & 50–950 ramp

primary
#6255BE
secondary
#C8CEA1
accent
#D453C4
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6255BE

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

Preview Lab → · Contrast checker → · Palette generator →

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