#6257BB#6257BB

#6257BB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.152 H 284.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6257BB
RGBrgb(98, 87, 187)
HSLhsl(247, 42%, 54%)
HSVhsv(247, 53%, 73%)
CMYKcmyk(47.6%, 53.5%, 0%, 26.7%)
CIE-LABlab(42.76, 30.68, -51.53)
CIE-LCHlch(42.76, 59.97, 300.77°)
OKLaboklab(51.9% 0.0388 -0.1468)
OKLCHoklch(51.9% 0.152 284.8)
XYZxyz(17.4122, 13.0001, 48.5959)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257BB #B0BB57
analogous
#577EBB #6257BB #9457BB
triadic
#6257BB #BB6257 #57BB62
tetradic
#6257BB #BB577E #B0BB57 #57BB94
square
#6257BB #BB577E #B0BB57 #57BB94
split-complementary
#6257BB #BB9457 #7EBB57
monochromatic
#332C6C #473D97 #6257BB #8B83CD #B3AEDE

Accessibility & contrast

On white

5.83
#6257BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6257BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257BB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257BB#FFFFFF#000000##FFFFFF
##6257BB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368BE
Deuteranopia (green-blind)
#1F62B9
Tritanopia (blue-blind)
#446D80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6257bb;
/* rgb */ color: rgb(98, 87, 187);
/* oklch */ color: oklch(51.9% 0.152 284.8);
Tailwind
colors: {
  custom: {
    50: '#9486d0',
    500: '#6257bb',
    950: '#000000',
  },
}
SCSS
$custom: #6257bb;
$custom-light: #9486d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6257bb",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 246.6,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51902,
    "c": 0.15187,
    "h": 284.8
  },
  "luminance": 0.13001
}

Semantic roles & 50–950 ramp

primary
#6257BB
secondary
#C8CCA2
accent
#D256C4
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6257BB

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

Preview Lab → · Contrast checker → · Palette generator →

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