#6256FF#6256FF

#6256FF is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 57.0% C 0.240 H 278.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6256FF
RGBrgb(98, 86, 255)
HSLhsl(244, 100%, 67%)
HSVhsv(244, 66%, 100%)
CMYKcmyk(61.6%, 66.3%, 0%, 0%)
CIE-LABlab(47.59, 52.19, -82.40)
CIE-LCHlch(47.59, 97.54, 302.35°)
OKLaboklab(57.02% 0.0364 -0.2376)
OKLCHoklch(57.02% 0.24 278.7)
XYZxyz(26.4090, 16.4702, 96.3757)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256FF #F3FF56
analogous
#569FFF #6256FF #B656FF
triadic
#6256FF #FF6256 #56FF62
tetradic
#6256FF #FF569F #F3FF56 #56FFB6
square
#6256FF #FF569F #F3FF56 #56FFB6
split-complementary
#6256FF #FFB656 #9FFF56
monochromatic
#1000DB #2919FF #6256FF #9B93FF #D4D0FF

Accessibility & contrast

On white

4.89
#6256FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#6256FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256FF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256FF#FFFFFF#000000##FFFFFF
##6256FF1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006AFC
Tritanopia (blue-blind)
#0082A4
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6256ff;
/* rgb */ color: rgb(98, 86, 255);
/* oklch */ color: oklch(57.0% 0.240 278.7);
Tailwind
colors: {
  custom: {
    50: '#9f87ff',
    500: '#6256ff',
    950: '#000000',
  },
}
SCSS
$custom: #6256ff;
$custom-light: #9f87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6256ff",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 244.26,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.57017,
    "c": 0.24033,
    "h": 278.7
  },
  "luminance": 0.16472
}

Semantic roles & 50–950 ramp

primary
#6256FF
secondary
#F0F3BD
accent
#E600D5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6256FF

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

Preview Lab → · Contrast checker → · Palette generator →

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