#6257CC#6257CC

#6257CC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.1% C 0.175 H 282.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#6257CC
RGBrgb(98, 87, 204)
HSLhsl(246, 53%, 57%)
HSVhsv(246, 57%, 80%)
CMYKcmyk(52%, 57.4%, 0%, 20%)
CIE-LABlab(43.90, 35.89, -59.54)
CIE-LCHlch(43.90, 69.52, 301.08°)
OKLaboklab(53.11% 0.0391 -0.1704)
OKLCHoklch(53.11% 0.175 282.9)
XYZxyz(19.3410, 13.7716, 58.7541)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257CC #C1CC57
analogous
#5787CC #6257CC #9D57CC
triadic
#6257CC #CC6257 #57CC62
tetradic
#6257CC #CC5787 #C1CC57 #57CC9D
square
#6257CC #CC5787 #C1CC57 #57CC9D
split-complementary
#6257CC #CC9D57 #87CC57
monochromatic
#302781 #4136B0 #6257CC #8E86DA #BAB5E9

Accessibility & contrast

On white

5.59
#6257CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6257CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257CC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257CC#FFFFFF#000000##FFFFFF
##6257CC1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#377289
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6257cc;
/* rgb */ color: rgb(98, 87, 204);
/* oklch */ color: oklch(53.1% 0.175 282.9);
Tailwind
colors: {
  custom: {
    50: '#9787dc',
    500: '#6257cc',
    950: '#000000',
  },
}
SCSS
$custom: #6257cc;
$custom-light: #9787dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6257cc",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 245.641,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.17486,
    "h": 282.9
  },
  "luminance": 0.13773
}

Semantic roles & 50–950 ramp

primary
#6257CC
secondary
#D3D7A8
accent
#DD4BCF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6257CC

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

Preview Lab → · Contrast checker → · Palette generator →

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