#6257CA#6257CA

#6257CA is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.0% C 0.172 H 283.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6257CA
RGBrgb(98, 87, 202)
HSLhsl(246, 52%, 57%)
HSVhsv(246, 57%, 79%)
CMYKcmyk(51.5%, 56.9%, 0%, 20.8%)
CIE-LABlab(43.77, 35.27, -58.61)
CIE-LCHlch(43.77, 68.41, 301.04°)
OKLaboklab(52.97% 0.0391 -0.1677)
OKLCHoklch(52.97% 0.172 283.1)
XYZxyz(19.1026, 13.6763, 57.4989)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257CA #BFCA57
analogous
#5786CA #6257CA #9C57CA
triadic
#6257CA #CA6257 #57CA62
tetradic
#6257CA #CA5786 #BFCA57 #57CA9C
square
#6257CA #CA5786 #BFCA57 #57CA9C
split-complementary
#6257CA #CA9C57 #86CA57
monochromatic
#30287F #4237AD #6257CA #8D86D9 #B9B4E7

Accessibility & contrast

On white

5.62
#6257CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6257CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257CA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257CA#FFFFFF#000000##FFFFFF
##6257CA1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#397188
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6257ca;
/* rgb */ color: rgb(98, 87, 202);
/* oklch */ color: oklch(53.0% 0.172 283.1);
Tailwind
colors: {
  custom: {
    50: '#9687db',
    500: '#6257ca',
    950: '#000000',
  },
}
SCSS
$custom: #6257ca;
$custom-light: #9687db;
$custom-dark: #000000;
JSON
{
  "hex": "#6257ca",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 245.739,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52965,
    "c": 0.17219,
    "h": 283.1
  },
  "luminance": 0.13677
}

Semantic roles & 50–950 ramp

primary
#6257CA
secondary
#D1D6A7
accent
#DB4CCE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6257CA

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

Preview Lab → · Contrast checker → · Palette generator →

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