#6257DC#6257DC

#6257DC is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.3% C 0.196 H 281.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6257DC
RGBrgb(98, 87, 220)
HSLhsl(245, 66%, 60%)
HSVhsv(245, 60%, 86%)
CMYKcmyk(55.5%, 60.5%, 0%, 13.7%)
CIE-LABlab(45.05, 40.83, -66.84)
CIE-LCHlch(45.05, 78.33, 301.42°)
OKLaboklab(54.32% 0.0387 -0.1919)
OKLCHoklch(54.32% 0.196 281.4)
XYZxyz(21.3595, 14.5790, 69.3848)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257DC #D1DC57
analogous
#578FDC #6257DC #A457DC
triadic
#6257DC #DC6257 #57DC62
tetradic
#6257DC #DC578F #D1DC57 #57DCA4
square
#6257DC #DC578F #D1DC57 #57DCA4
split-complementary
#6257DC #DCA457 #8FDC57
monochromatic
#2A2099 #382ACB #6257DC #918AE7 #C1BCF1

Accessibility & contrast

On white

5.36
#6257DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6257DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257DC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257DC#FFFFFF#000000##FFFFFF
##6257DC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#257791
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6257dc;
/* rgb */ color: rgb(98, 87, 220);
/* oklch */ color: oklch(54.3% 0.196 281.4);
Tailwind
colors: {
  custom: {
    50: '#9987e8',
    500: '#6257dc',
    950: '#000000',
  },
}
SCSS
$custom: #6257dc;
$custom-light: #9987e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6257dc",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 244.962,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5432,
    "c": 0.19576,
    "h": 281.4
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#6257DC
secondary
#DDE1AE
accent
#CD18BE
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6257DC

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

Preview Lab → · Contrast checker → · Palette generator →

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