#6256EF#6256EF

#6256EF is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.7% C 0.221 H 280.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6256EF
RGBrgb(98, 86, 239)
HSLhsl(245, 83%, 64%)
HSVhsv(245, 64%, 94%)
CMYKcmyk(59%, 64%, 0%, 6.3%)
CIE-LABlab(46.29, 47.28, -75.58)
CIE-LCHlch(46.29, 89.15, 302.03°)
OKLaboklab(55.68% 0.0382 -0.2176)
OKLCHoklch(55.68% 0.221 280)
XYZxyz(23.9399, 15.4825, 83.3715)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256EF #E3EF56
analogous
#5696EF #6256EF #AE56EF
triadic
#6256EF #EF6256 #56EF62
tetradic
#6256EF #EF5696 #E3EF56 #56EFAE
square
#6256EF #EF5696 #E3EF56 #56EFAE
split-complementary
#6256EF #EFAE56 #96EF56
monochromatic
#1F12B9 #2E1EEA #6256EF #968EF4 #CAC6FA

Accessibility & contrast

On white

5.13
#6256EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6256EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256EF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256EF#FFFFFF#000000##FFFFFF
##6256EF1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0068EC
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6256ef;
/* rgb */ color: rgb(98, 86, 239);
/* oklch */ color: oklch(55.7% 0.221 280.0);
Tailwind
colors: {
  custom: {
    50: '#9c87f5',
    500: '#6256ef',
    950: '#000000',
  },
}
SCSS
$custom: #6256ef;
$custom-light: #9c87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6256ef",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 244.706,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55677,
    "c": 0.22089,
    "h": 280
  },
  "luminance": 0.15484
}

Semantic roles & 50–950 ramp

primary
#6256EF
secondary
#E7EBB5
accent
#DF06CE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6256EF

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

Preview Lab → · Contrast checker → · Palette generator →

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