#6255CD#6255CD

#6255CD is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.8% C 0.179 H 283.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6255CD
RGBrgb(98, 85, 205)
HSLhsl(247, 55%, 57%)
HSVhsv(247, 59%, 80%)
CMYKcmyk(52.2%, 58.5%, 0%, 19.6%)
CIE-LABlab(43.51, 37.39, -60.76)
CIE-LCHlch(43.51, 71.34, 301.61°)
OKLaboklab(52.84% 0.0412 -0.174)
OKLCHoklch(52.84% 0.179 283.3)
XYZxyz(19.3016, 13.5004, 59.3345)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255CD #C0CD55
analogous
#5584CD #6255CD #9E55CD
triadic
#6255CD #CD6255 #55CD62
tetradic
#6255CD #CD5584 #C0CD55 #55CD9E
square
#6255CD #CD5584 #C0CD55 #55CD9E
split-complementary
#6255CD #CD9E55 #84CD55
monochromatic
#302682 #4234B1 #6255CD #8E84DB #B9B4E9

Accessibility & contrast

On white

5.68
#6255CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6255CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6255CD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255CD#FFFFFF#000000##FFFFFF
##6255CD1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6255cd;
/* rgb */ color: rgb(98, 85, 205);
/* oklch */ color: oklch(52.8% 0.179 283.3);
Tailwind
colors: {
  custom: {
    50: '#9785dd',
    500: '#6255cd',
    950: '#000000',
  },
}
SCSS
$custom: #6255cd;
$custom-light: #9785dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6255cd",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 246.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52842,
    "c": 0.17884,
    "h": 283.3
  },
  "luminance": 0.13501
}

Semantic roles & 50–950 ramp

primary
#6255CD
secondary
#D2D7A6
accent
#DE4ACE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6255CD

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

Preview Lab → · Contrast checker → · Palette generator →

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