#6259EA#6259EA

#6259EA is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.7% C 0.211 H 279.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6259EA
RGBrgb(98, 89, 234)
HSLhsl(244, 78%, 63%)
HSVhsv(244, 62%, 92%)
CMYKcmyk(58.1%, 62%, 0%, 8.2%)
CIE-LABlab(46.55, 44.00, -72.33)
CIE-LCHlch(46.55, 84.67, 301.31°)
OKLaboklab(55.75% 0.036 -0.208)
OKLCHoklch(55.75% 0.211 279.8)
XYZxyz(23.4560, 15.6803, 79.6165)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6259EA #E1EA59
analogous
#5998EA #6259EA #AA59EA
triadic
#6259EA #EA6259 #59EA62
tetradic
#6259EA #EA5998 #E1EA59 #59EAAA
square
#6259EA #EA5998 #E1EA59 #59EAAA
split-complementary
#6259EA #EAAA59 #98EA59
monochromatic
#2017B2 #2F23E3 #6259EA #958FF1 #C9C6F8

Accessibility & contrast

On white

5.08
#6259EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6259EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6259EA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6259EA#FFFFFF#000000##FFFFFF
##6259EA1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#0069E7
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6259ea;
/* rgb */ color: rgb(98, 89, 234);
/* oklch */ color: oklch(55.7% 0.211 279.8);
Tailwind
colors: {
  custom: {
    50: '#9b88f2',
    500: '#6259ea',
    950: '#000000',
  },
}
SCSS
$custom: #6259ea;
$custom-light: #9b88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6259ea",
  "rgb": {
    "r": 98,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 243.724,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55748,
    "c": 0.21112,
    "h": 279.8
  },
  "luminance": 0.15682
}

Semantic roles & 50–950 ramp

primary
#6259EA
secondary
#E6E9B6
accent
#DA0CCD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6259EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6259EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva