#6255CC#6255CC

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

Color values

HEX#6255CC
RGBrgb(98, 85, 204)
HSLhsl(247, 54%, 57%)
HSVhsv(247, 58%, 80%)
CMYKcmyk(52%, 58.3%, 0%, 20%)
CIE-LABlab(43.44, 37.09, -60.30)
CIE-LCHlch(43.44, 70.79, 301.59°)
OKLaboklab(52.77% 0.0412 -0.1727)
OKLCHoklch(52.77% 0.178 283.4)
XYZxyz(19.1813, 13.4522, 58.7009)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255CC #BFCC55
analogous
#5584CC #6255CC #9E55CC
triadic
#6255CC #CC6255 #55CC62
tetradic
#6255CC #CC5584 #BFCC55 #55CC9E
square
#6255CC #CC5584 #BFCC55 #55CC9E
split-complementary
#6255CC #CC9E55 #84CC55
monochromatic
#302680 #4235AF #6255CC #8D84DA #B9B3E8

Accessibility & contrast

On white

5.69
#6255CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6255CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6255CC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255CC#FFFFFF#000000##FFFFFF
##6255CC1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#377188
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6255cc;
/* rgb */ color: rgb(98, 85, 204);
/* oklch */ color: oklch(52.8% 0.178 283.4);
Tailwind
colors: {
  custom: {
    50: '#9785dc',
    500: '#6255cc',
    950: '#000000',
  },
}
SCSS
$custom: #6255cc;
$custom-light: #9785dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6255cc",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 246.555,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52767,
    "c": 0.17752,
    "h": 283.4
  },
  "luminance": 0.13453
}

Semantic roles & 50–950 ramp

primary
#6255CC
secondary
#D1D7A6
accent
#DD4BCD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6255CC

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

Preview Lab → · Contrast checker → · Palette generator →

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