#6257BC#6257BC

#6257BC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.153 H 284.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6257BC
RGBrgb(98, 87, 188)
HSLhsl(247, 43%, 54%)
HSVhsv(247, 54%, 74%)
CMYKcmyk(47.9%, 53.7%, 0%, 26.3%)
CIE-LABlab(42.83, 30.98, -52.01)
CIE-LCHlch(42.83, 60.54, 300.79°)
OKLaboklab(51.97% 0.0388 -0.1482)
OKLCHoklch(51.97% 0.153 284.7)
XYZxyz(17.5196, 13.0431, 49.1616)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257BC #B1BC57
analogous
#577FBC #6257BC #9557BC
triadic
#6257BC #BC6257 #57BC62
tetradic
#6257BC #BC577F #B1BC57 #57BC95
square
#6257BC #BC577F #B1BC57 #57BC95
split-complementary
#6257BC #BC9557 #7FBC57
monochromatic
#332C6D #473D99 #6257BC #8B83CD #B4AFDF

Accessibility & contrast

On white

5.82
#6257BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6257BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257BC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257BC#FFFFFF#000000##FFFFFF
##6257BC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#1D62BA
Tritanopia (blue-blind)
#436D81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6257bc;
/* rgb */ color: rgb(98, 87, 188);
/* oklch */ color: oklch(52.0% 0.153 284.7);
Tailwind
colors: {
  custom: {
    50: '#9586d1',
    500: '#6257bc',
    950: '#000000',
  },
}
SCSS
$custom: #6257bc;
$custom-light: #9586d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6257bc",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 246.535,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51971,
    "c": 0.15325,
    "h": 284.7
  },
  "luminance": 0.13044
}

Semantic roles & 50–950 ramp

primary
#6257BC
secondary
#C8CDA2
accent
#D355C5
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6257BC

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

Preview Lab → · Contrast checker → · Palette generator →

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