#6256DB#6256DB

#6256DB is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.1% C 0.196 H 281.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6256DB
RGBrgb(98, 86, 219)
HSLhsl(245, 65%, 60%)
HSVhsv(245, 61%, 86%)
CMYKcmyk(55.3%, 60.7%, 0%, 14.1%)
CIE-LABlab(44.75, 41.11, -66.76)
CIE-LCHlch(44.75, 78.40, 301.62°)
OKLaboklab(54.08% 0.0397 -0.1917)
OKLCHoklch(54.08% 0.196 281.7)
XYZxyz(21.1470, 14.3654, 68.6626)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256DB #CFDB56
analogous
#568CDB #6256DB #A556DB
triadic
#6256DB #DB6256 #56DB62
tetradic
#6256DB #DB568C #CFDB56 #56DBA5
square
#6256DB #DB568C #CFDB56 #56DBA5
split-complementary
#6256DB #DBA556 #8CDB56
monochromatic
#2B2097 #392BC9 #6256DB #9188E6 #C0BBF0

Accessibility & contrast

On white

5.42
#6256DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6256DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256DB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256DB#FFFFFF#000000##FFFFFF
##6256DB1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#267690
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6256db;
/* rgb */ color: rgb(98, 86, 219);
/* oklch */ color: oklch(54.1% 0.196 281.7);
Tailwind
colors: {
  custom: {
    50: '#9986e7',
    500: '#6256db',
    950: '#000000',
  },
}
SCSS
$custom: #6256db;
$custom-light: #9986e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6256db",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 245.414,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54077,
    "c": 0.19573,
    "h": 281.7
  },
  "luminance": 0.14367
}

Semantic roles & 50–950 ramp

primary
#6256DB
secondary
#DBE0AD
accent
#E840D9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6256DB

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

Preview Lab → · Contrast checker → · Palette generator →

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