#6256CD#6256CD

#6256CD is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.0% C 0.178 H 283.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#6256CD
RGBrgb(98, 86, 205)
HSLhsl(246, 54%, 57%)
HSVhsv(246, 58%, 80%)
CMYKcmyk(52.2%, 58%, 0%, 19.6%)
CIE-LABlab(43.74, 36.80, -60.38)
CIE-LCHlch(43.74, 70.71, 301.36°)
OKLaboklab(53.01% 0.0402 -0.1729)
OKLCHoklch(53.01% 0.178 283.1)
XYZxyz(19.3809, 13.6589, 59.3610)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256CD #C1CD56
analogous
#5686CD #6256CD #9D56CD
triadic
#6256CD #CD6256 #56CD62
tetradic
#6256CD #CD5686 #C1CD56 #56CD9D
square
#6256CD #CD5686 #C1CD56 #56CD9D
split-complementary
#6256CD #CD9D56 #86CD56
monochromatic
#302682 #4134B1 #6256CD #8E85DB #BAB4E9

Accessibility & contrast

On white

5.63
#6256CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#6256CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256CD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256CD#FFFFFF#000000##FFFFFF
##6256CD1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6256cd;
/* rgb */ color: rgb(98, 86, 205);
/* oklch */ color: oklch(53.0% 0.178 283.1);
Tailwind
colors: {
  custom: {
    50: '#9786dd',
    500: '#6256cd',
    950: '#000000',
  },
}
SCSS
$custom: #6256cd;
$custom-light: #9786dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6256cd",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 246.05,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53013,
    "c": 0.17751,
    "h": 283.1
  },
  "luminance": 0.1366
}

Semantic roles & 50–950 ramp

primary
#6256CD
secondary
#D3D8A7
accent
#DE4ACF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6256CD

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

Preview Lab → · Contrast checker → · Palette generator →

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