#6257DD#6257DD

#6257DD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.4% C 0.197 H 281.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6257DD
RGBrgb(98, 87, 221)
HSLhsl(245, 66%, 60%)
HSVhsv(245, 61%, 87%)
CMYKcmyk(55.7%, 60.6%, 0%, 13.3%)
CIE-LABlab(45.13, 41.14, -67.29)
CIE-LCHlch(45.13, 78.87, 301.44°)
OKLaboklab(54.4% 0.0386 -0.1932)
OKLCHoklch(54.4% 0.197 281.3)
XYZxyz(21.4923, 14.6321, 70.0844)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257DD #D2DD57
analogous
#578FDD #6257DD #A557DD
triadic
#6257DD #DD6257 #57DD62
tetradic
#6257DD #DD578F #D2DD57 #57DDA5
square
#6257DD #DD578F #D2DD57 #57DDA5
split-complementary
#6257DD #DDA557 #8FDD57
monochromatic
#291F9A #372ACD #6257DD #928AE7 #C1BDF2

Accessibility & contrast

On white

5.35
#6257DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6257DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257DD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257DD#FFFFFF#000000##FFFFFF
##6257DD1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#237792
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6257dd;
/* rgb */ color: rgb(98, 87, 221);
/* oklch */ color: oklch(54.4% 0.197 281.3);
Tailwind
colors: {
  custom: {
    50: '#9987e8',
    500: '#6257dd',
    950: '#000000',
  },
}
SCSS
$custom: #6257dd;
$custom-light: #9987e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6257dd",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 244.925,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54398,
    "c": 0.19705,
    "h": 281.3
  },
  "luminance": 0.14634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6257DD

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

Preview Lab → · Contrast checker → · Palette generator →

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