#6255CA#6255CA

#6255CA is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.175 H 283.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6255CA
RGBrgb(98, 85, 202)
HSLhsl(247, 52%, 56%)
HSVhsv(247, 58%, 79%)
CMYKcmyk(51.5%, 57.9%, 0%, 20.8%)
CIE-LABlab(43.30, 36.47, -59.37)
CIE-LCHlch(43.30, 69.68, 301.56°)
OKLaboklab(52.62% 0.0413 -0.1699)
OKLCHoklch(52.62% 0.175 283.7)
XYZxyz(18.9430, 13.3569, 57.4457)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255CA #BDCA55
analogous
#5583CA #6255CA #9D55CA
triadic
#6255CA #CA6255 #55CA62
tetradic
#6255CA #CA5583 #BDCA55 #55CA9D
square
#6255CA #CA5583 #BDCA55 #55CA9D
split-complementary
#6255CA #CA9D55 #83CA55
monochromatic
#31277D #4336AC #6255CA #8D84D9 #B8B2E7

Accessibility & contrast

On white

5.72
#6255CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6255CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6255CA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255CA#FFFFFF#000000##FFFFFF
##6255CA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#397087
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6255ca;
/* rgb */ color: rgb(98, 85, 202);
/* oklch */ color: oklch(52.6% 0.175 283.7);
Tailwind
colors: {
  custom: {
    50: '#9785db',
    500: '#6255ca',
    950: '#000000',
  },
}
SCSS
$custom: #6255ca;
$custom-light: #9785db;
$custom-dark: #000000;
JSON
{
  "hex": "#6255ca",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 246.667,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52619,
    "c": 0.17487,
    "h": 283.7
  },
  "luminance": 0.13358
}

Semantic roles & 50–950 ramp

primary
#6255CA
secondary
#D0D5A5
accent
#DC4CCC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6255CA

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

Preview Lab → · Contrast checker → · Palette generator →

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