#6257BD#6257BD

#6257BD is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.0% C 0.155 H 284.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6257BD
RGBrgb(98, 87, 189)
HSLhsl(246, 44%, 54%)
HSVhsv(246, 54%, 74%)
CMYKcmyk(48.1%, 54%, 0%, 25.9%)
CIE-LABlab(42.89, 31.29, -52.48)
CIE-LCHlch(42.89, 61.10, 300.80°)
OKLaboklab(52.04% 0.0389 -0.1497)
OKLCHoklch(52.04% 0.155 284.6)
XYZxyz(17.6278, 13.0863, 49.7313)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257BD #B2BD57
analogous
#577FBD #6257BD #9557BD
triadic
#6257BD #BD6257 #57BD62
tetradic
#6257BD #BD577F #B2BD57 #57BD95
square
#6257BD #BD577F #B2BD57 #57BD95
split-complementary
#6257BD #BD9557 #7FBD57
monochromatic
#332B6E #473D9A #6257BD #8B83CE #B4AFE0

Accessibility & contrast

On white

5.81
#6257BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6257BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257BD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257BD#FFFFFF#000000##FFFFFF
##6257BD1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2068C1
Deuteranopia (green-blind)
#1B62BB
Tritanopia (blue-blind)
#426D81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6257bd;
/* rgb */ color: rgb(98, 87, 189);
/* oklch */ color: oklch(52.0% 0.155 284.6);
Tailwind
colors: {
  custom: {
    50: '#9586d1',
    500: '#6257bd',
    950: '#000000',
  },
}
SCSS
$custom: #6257bd;
$custom-light: #9586d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6257bd",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 246.471,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5204,
    "c": 0.15462,
    "h": 284.6
  },
  "luminance": 0.13087
}

Semantic roles & 50–950 ramp

primary
#6257BD
secondary
#C9CEA2
accent
#D354C6
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6257BD

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

Preview Lab → · Contrast checker → · Palette generator →

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