#6256DD#6256DD

#6256DD is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.2% C 0.198 H 281.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6256DD
RGBrgb(98, 86, 221)
HSLhsl(245, 67%, 60%)
HSVhsv(245, 61%, 87%)
CMYKcmyk(55.7%, 61.1%, 0%, 13.3%)
CIE-LABlab(44.90, 41.73, -67.66)
CIE-LCHlch(44.90, 79.49, 301.66°)
OKLaboklab(54.23% 0.0396 -0.1943)
OKLCHoklch(54.23% 0.198 281.5)
XYZxyz(21.4119, 14.4713, 70.0576)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256DD #D1DD56
analogous
#568EDD #6256DD #A556DD
triadic
#6256DD #DD6256 #56DD62
tetradic
#6256DD #DD568E #D1DD56 #56DDA5
square
#6256DD #DD568E #D1DD56 #56DDA5
split-complementary
#6256DD #DDA556 #8EDD56
monochromatic
#2A1F9A #3829CD #6256DD #9189E7 #C1BCF2

Accessibility & contrast

On white

5.39
#6256DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6256DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256DD
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256DD#FFFFFF#000000##FFFFFF
##6256DD1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#237791
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6256dd;
/* rgb */ color: rgb(98, 86, 221);
/* oklch */ color: oklch(54.2% 0.198 281.5);
Tailwind
colors: {
  custom: {
    50: '#9986e8',
    500: '#6256dd',
    950: '#000000',
  },
}
SCSS
$custom: #6256dd;
$custom-light: #9986e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6256dd",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 245.333,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54233,
    "c": 0.19829,
    "h": 281.5
  },
  "luminance": 0.14473
}

Semantic roles & 50–950 ramp

primary
#6256DD
secondary
#DDE1AE
accent
#CE17BE
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6256DD

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

Preview Lab → · Contrast checker → · Palette generator →

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