#6257EC#6257EC

#6257EC is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.6% C 0.216 H 280.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6257EC
RGBrgb(98, 87, 236)
HSLhsl(244, 80%, 63%)
HSVhsv(244, 63%, 93%)
CMYKcmyk(58.5%, 63.1%, 0%, 7.5%)
CIE-LABlab(46.27, 45.78, -73.92)
CIE-LCHlch(46.27, 86.95, 301.77°)
OKLaboklab(55.59% 0.0376 -0.2127)
OKLCHoklch(55.59% 0.216 280)
XYZxyz(23.5807, 15.4675, 81.0835)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257EC #E1EC57
analogous
#5796EC #6257EC #AD57EC
triadic
#6257EC #EC6257 #57EC62
tetradic
#6257EC #EC5796 #E1EC57 #57ECAD
square
#6257EC #EC5796 #E1EC57 #57ECAD
split-complementary
#6257EC #ECAD57 #96EC57
monochromatic
#2014B4 #2F20E6 #6257EC #958EF2 #C9C5F8

Accessibility & contrast

On white

5.13
#6257EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6257EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257EC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257EC#FFFFFF#000000##FFFFFF
##6257EC1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6257ec;
/* rgb */ color: rgb(98, 87, 236);
/* oklch */ color: oklch(55.6% 0.216 280.0);
Tailwind
colors: {
  custom: {
    50: '#9b87f3',
    500: '#6257ec',
    950: '#000000',
  },
}
SCSS
$custom: #6257ec;
$custom-light: #9b87f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6257ec",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 244.43,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55589,
    "c": 0.216,
    "h": 280
  },
  "luminance": 0.15469
}

Semantic roles & 50–950 ramp

primary
#6257EC
secondary
#E6EAB5
accent
#DC0ACC
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6257EC

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

Preview Lab → · Contrast checker → · Palette generator →

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