#6257CD#6257CD

#6257CD is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.2% C 0.176 H 282.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#6257CD
RGBrgb(98, 87, 205)
HSLhsl(246, 54%, 57%)
HSVhsv(246, 58%, 80%)
CMYKcmyk(52.2%, 57.6%, 0%, 19.6%)
CIE-LABlab(43.97, 36.20, -60.01)
CIE-LCHlch(43.97, 70.08, 301.10°)
OKLaboklab(53.19% 0.0391 -0.1718)
OKLCHoklch(53.19% 0.176 282.8)
XYZxyz(19.4613, 13.8197, 59.3878)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257CD #C2CD57
analogous
#5787CD #6257CD #9D57CD
triadic
#6257CD #CD6257 #57CD62
tetradic
#6257CD #CD5787 #C2CD57 #57CD9D
square
#6257CD #CD5787 #C2CD57 #57CD9D
split-complementary
#6257CD #CD9D57 #87CD57
monochromatic
#2F2783 #4135B2 #6257CD #8E86DB #BAB5E9

Accessibility & contrast

On white

5.58
#6257CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#6257CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257CD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257CD#FFFFFF#000000##FFFFFF
##6257CD1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#367289
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6257cd;
/* rgb */ color: rgb(98, 87, 205);
/* oklch */ color: oklch(53.2% 0.176 282.8);
Tailwind
colors: {
  custom: {
    50: '#9787dd',
    500: '#6257cd',
    950: '#000000',
  },
}
SCSS
$custom: #6257cd;
$custom-light: #9787dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6257cd",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 245.593,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53185,
    "c": 0.17619,
    "h": 282.8
  },
  "luminance": 0.13821
}

Semantic roles & 50–950 ramp

primary
#6257CD
secondary
#D3D8A8
accent
#DD4AD0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6257CD

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

Preview Lab → · Contrast checker → · Palette generator →

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