#6257CB#6257CB

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

Color values

HEX#6257CB
RGBrgb(98, 87, 203)
HSLhsl(246, 53%, 57%)
HSVhsv(246, 57%, 80%)
CMYKcmyk(51.7%, 57.1%, 0%, 20.4%)
CIE-LABlab(43.83, 35.58, -59.08)
CIE-LCHlch(43.83, 68.97, 301.06°)
OKLaboklab(53.04% 0.0391 -0.1691)
OKLCHoklch(53.04% 0.174 283)
XYZxyz(19.2214, 13.7238, 58.1245)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257CB #C0CB57
analogous
#5786CB #6257CB #9C57CB
triadic
#6257CB #CB6257 #57CB62
tetradic
#6257CB #CB5786 #C0CB57 #57CB9C
square
#6257CB #CB5786 #C0CB57 #57CB9C
split-complementary
#6257CB #CB9C57 #86CB57
monochromatic
#302880 #4236AF #6257CB #8E86D9 #B9B4E8

Accessibility & contrast

On white

5.61
#6257CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6257CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257CB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257CB#FFFFFF#000000##FFFFFF
##6257CB1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#387288
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6257cb;
/* rgb */ color: rgb(98, 87, 203);
/* oklch */ color: oklch(53.0% 0.174 283.0);
Tailwind
colors: {
  custom: {
    50: '#9787dc',
    500: '#6257cb',
    950: '#000000',
  },
}
SCSS
$custom: #6257cb;
$custom-light: #9787dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6257cb",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 245.69,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53038,
    "c": 0.17353,
    "h": 283
  },
  "luminance": 0.13725
}

Semantic roles & 50–950 ramp

primary
#6257CB
secondary
#D2D7A7
accent
#DC4CCE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6257CB

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

Preview Lab → · Contrast checker → · Palette generator →

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