#6257BF#6257BF

#6257BF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.157 H 284.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6257BF
RGBrgb(98, 87, 191)
HSLhsl(246, 45%, 55%)
HSVhsv(246, 54%, 75%)
CMYKcmyk(48.7%, 54.5%, 0%, 25.1%)
CIE-LABlab(43.02, 31.90, -53.44)
CIE-LCHlch(43.02, 62.23, 300.83°)
OKLaboklab(52.18% 0.0389 -0.1525)
OKLCHoklch(52.18% 0.157 284.3)
XYZxyz(17.8464, 13.1738, 50.8826)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257BF #B4BF57
analogous
#5780BF #6257BF #9657BF
triadic
#6257BF #BF6257 #57BF62
tetradic
#6257BF #BF5780 #B4BF57 #57BF96
square
#6257BF #BF5780 #B4BF57 #57BF96
split-complementary
#6257BF #BF9657 #80BF57
monochromatic
#322B71 #463C9D #6257BF #8B83D0 #B5B0E1

Accessibility & contrast

On white

5.78
#6257BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6257BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257BF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257BF#FFFFFF#000000##FFFFFF
##6257BF1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C3
Deuteranopia (green-blind)
#1662BD
Tritanopia (blue-blind)
#416E82
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6257bf;
/* rgb */ color: rgb(98, 87, 191);
/* oklch */ color: oklch(52.2% 0.157 284.3);
Tailwind
colors: {
  custom: {
    50: '#9586d3',
    500: '#6257bf',
    950: '#000000',
  },
}
SCSS
$custom: #6257bf;
$custom-light: #9586d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6257bf",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 246.346,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52179,
    "c": 0.15735,
    "h": 284.3
  },
  "luminance": 0.13175
}

Semantic roles & 50–950 ramp

primary
#6257BF
secondary
#CACFA3
accent
#D553C7
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6257BF

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

Preview Lab → · Contrast checker → · Palette generator →

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