#6255CE#6255CE

#6255CE is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.9% C 0.180 H 283.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6255CE
RGBrgb(98, 85, 206)
HSLhsl(246, 55%, 57%)
HSVhsv(246, 59%, 81%)
CMYKcmyk(52.4%, 58.7%, 0%, 19.2%)
CIE-LABlab(43.58, 37.70, -61.22)
CIE-LCHlch(43.58, 71.90, 301.63°)
OKLaboklab(52.92% 0.0412 -0.1754)
OKLCHoklch(52.92% 0.18 283.2)
XYZxyz(19.4227, 13.5488, 59.9723)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255CE #C1CE55
analogous
#5585CE #6255CE #9E55CE
triadic
#6255CE #CE6255 #55CE62
tetradic
#6255CE #CE5585 #C1CE55 #55CE9E
square
#6255CE #CE5585 #C1CE55 #55CE9E
split-complementary
#6255CE #CE9E55 #85CE55
monochromatic
#302683 #4133B2 #6255CE #8E85DC #BAB4E9

Accessibility & contrast

On white

5.66
#6255CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6255CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6255CE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255CE#FFFFFF#000000##FFFFFF
##6255CE1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#357189
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6255ce;
/* rgb */ color: rgb(98, 85, 206);
/* oklch */ color: oklch(52.9% 0.180 283.2);
Tailwind
colors: {
  custom: {
    50: '#9785de',
    500: '#6255ce',
    950: '#000000',
  },
}
SCSS
$custom: #6255ce;
$custom-light: #9785de;
$custom-dark: #000000;
JSON
{
  "hex": "#6255ce",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 206
  },
  "hsl": {
    "h": 246.446,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52917,
    "c": 0.18014,
    "h": 283.2
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#6255CE
secondary
#D3D8A7
accent
#DF49CF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6255CE

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

Preview Lab → · Contrast checker → · Palette generator →

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