#6257C8#6257C8

#6257C8 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.170 H 283.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#6257C8
RGBrgb(98, 87, 200)
HSLhsl(246, 51%, 56%)
HSVhsv(246, 57%, 78%)
CMYKcmyk(51%, 56.5%, 0%, 21.6%)
CIE-LABlab(43.63, 34.66, -57.68)
CIE-LCHlch(43.63, 67.29, 301.00°)
OKLaboklab(52.82% 0.0391 -0.165)
OKLCHoklch(52.82% 0.17 283.3)
XYZxyz(18.8674, 13.5822, 56.2598)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257C8 #BDC857
analogous
#5785C8 #6257C8 #9B57C8
triadic
#6257C8 #C86257 #57C862
tetradic
#6257C8 #C85785 #BDC857 #57C89B
square
#6257C8 #C85785 #BDC857 #57C89B
split-complementary
#6257C8 #C89B57 #85C857
monochromatic
#31297C #4338AA #6257C8 #8D85D7 #B8B3E6

Accessibility & contrast

On white

5.65
#6257C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6257C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257C8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257C8#FFFFFF#000000##FFFFFF
##6257C81.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026BCC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#3A7187
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6257c8;
/* rgb */ color: rgb(98, 87, 200);
/* oklch */ color: oklch(52.8% 0.170 283.3);
Tailwind
colors: {
  custom: {
    50: '#9687d9',
    500: '#6257c8',
    950: '#000000',
  },
}
SCSS
$custom: #6257c8;
$custom-light: #9687d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6257c8",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 245.841,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5282,
    "c": 0.16953,
    "h": 283.3
  },
  "luminance": 0.13583
}

Semantic roles & 50–950 ramp

primary
#6257C8
secondary
#D0D5A6
accent
#DA4ECC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6257C8

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

Preview Lab → · Contrast checker → · Palette generator →

#6257C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva