#6256BB#6256BB

#6256BB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.153 H 285.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6256BB
RGBrgb(98, 86, 187)
HSLhsl(247, 43%, 54%)
HSVhsv(247, 54%, 73%)
CMYKcmyk(47.6%, 54%, 0%, 26.7%)
CIE-LABlab(42.52, 31.29, -51.92)
CIE-LCHlch(42.52, 60.62, 301.08°)
OKLaboklab(51.72% 0.0399 -0.148)
OKLCHoklch(51.72% 0.153 285.1)
XYZxyz(17.3318, 12.8393, 48.5691)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256BB #AFBB56
analogous
#567CBB #6256BB #9456BB
triadic
#6256BB #BB6256 #56BB62
tetradic
#6256BB #BB567C #AFBB56 #56BB94
square
#6256BB #BB567C #AFBB56 #56BB94
split-complementary
#6256BB #BB9456 #7CBB56
monochromatic
#332B6B #473D97 #6256BB #8B82CD #B3ADDE

Accessibility & contrast

On white

5.89
#6256BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6256BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256BB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256BB#FFFFFF#000000##FFFFFF
##6256BB1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BE
Deuteranopia (green-blind)
#1C61B9
Tritanopia (blue-blind)
#446C80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6256bb;
/* rgb */ color: rgb(98, 86, 187);
/* oklch */ color: oklch(51.7% 0.153 285.1);
Tailwind
colors: {
  custom: {
    50: '#9586d0',
    500: '#6256bb',
    950: '#000000',
  },
}
SCSS
$custom: #6256bb;
$custom-light: #9586d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6256bb",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 247.129,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5172,
    "c": 0.15329,
    "h": 285.1
  },
  "luminance": 0.1284
}

Semantic roles & 50–950 ramp

primary
#6256BB
secondary
#C7CCA1
accent
#D255C4
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6256BB

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

Preview Lab → · Contrast checker → · Palette generator →

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