#6257CF#6257CF

#6257CF is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.3% C 0.179 H 282.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6257CF
RGBrgb(98, 87, 207)
HSLhsl(246, 56%, 58%)
HSVhsv(246, 58%, 81%)
CMYKcmyk(52.7%, 58%, 0%, 18.8%)
CIE-LABlab(44.11, 36.81, -60.93)
CIE-LCHlch(44.11, 71.19, 301.14°)
OKLaboklab(53.33% 0.0391 -0.1745)
OKLCHoklch(53.33% 0.179 282.6)
XYZxyz(19.7042, 13.9169, 60.6673)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257CF #C4CF57
analogous
#5788CF #6257CF #9E57CF
triadic
#6257CF #CF6257 #57CF62
tetradic
#6257CF #CF5788 #C4CF57 #57CF9E
square
#6257CF #CF5788 #C4CF57 #57CF9E
split-complementary
#6257CF #CF9E57 #88CF57
monochromatic
#2F2685 #4034B5 #6257CF #8E87DD #BBB6EA

Accessibility & contrast

On white

5.55
#6257CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6257CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257CF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257CF#FFFFFF#000000##FFFFFF
##6257CF1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#34738A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6257cf;
/* rgb */ color: rgb(98, 87, 207);
/* oklch */ color: oklch(53.3% 0.179 282.6);
Tailwind
colors: {
  custom: {
    50: '#9787de',
    500: '#6257cf',
    950: '#000000',
  },
}
SCSS
$custom: #6257cf;
$custom-light: #9787de;
$custom-dark: #000000;
JSON
{
  "hex": "#6257cf",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 245.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53333,
    "c": 0.17883,
    "h": 282.6
  },
  "luminance": 0.13918
}

Semantic roles & 50–950 ramp

primary
#6257CF
secondary
#D5D9A9
accent
#DF49D1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6257CF

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

Preview Lab → · Contrast checker → · Palette generator →

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