#6257E3#6257E3

#6257E3 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.9% C 0.205 H 280.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6257E3
RGBrgb(98, 87, 227)
HSLhsl(245, 71%, 62%)
HSVhsv(245, 62%, 89%)
CMYKcmyk(56.8%, 61.7%, 0%, 11%)
CIE-LABlab(45.58, 43.00, -69.97)
CIE-LCHlch(45.58, 82.12, 301.57°)
OKLaboklab(54.87% 0.0383 -0.2011)
OKLCHoklch(54.87% 0.205 280.8)
XYZxyz(22.3060, 14.9576, 74.3698)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257E3 #D8E357
analogous
#5792E3 #6257E3 #A857E3
triadic
#6257E3 #E36257 #57E362
tetradic
#6257E3 #E35792 #D8E357 #57E3A8
square
#6257E3 #E35792 #D8E357 #57E3A8
split-complementary
#6257E3 #E3A857 #92E357
monochromatic
#261BA4 #3224D9 #6257E3 #938BEC #C4C0F4

Accessibility & contrast

On white

5.26
#6257E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6257E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257E3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257E3#FFFFFF#000000##FFFFFF
##6257E31.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#177995
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6257e3;
/* rgb */ color: rgb(98, 87, 227);
/* oklch */ color: oklch(54.9% 0.205 280.8);
Tailwind
colors: {
  custom: {
    50: '#9a87ed',
    500: '#6257e3',
    950: '#000000',
  },
}
SCSS
$custom: #6257e3;
$custom-light: #9a87ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6257e3",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 227
  },
  "hsl": {
    "h": 244.714,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.20469,
    "h": 280.8
  },
  "luminance": 0.14959
}

Semantic roles & 50–950 ramp

primary
#6257E3
secondary
#E1E5B1
accent
#D312C4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6257E3

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

Preview Lab → · Contrast checker → · Palette generator →

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