#6259EC#6259EC

#6259EC is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.9% C 0.214 H 279.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6259EC
RGBrgb(98, 89, 236)
HSLhsl(244, 79%, 64%)
HSVhsv(244, 62%, 93%)
CMYKcmyk(58.5%, 62.3%, 0%, 7.5%)
CIE-LABlab(46.71, 44.62, -73.21)
CIE-LCHlch(46.71, 85.74, 301.36°)
OKLaboklab(55.91% 0.0359 -0.2106)
OKLCHoklch(55.91% 0.214 279.7)
XYZxyz(23.7449, 15.7959, 81.1383)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6259EC #E3EC59
analogous
#5999EC #6259EC #AB59EC
triadic
#6259EC #EC6259 #59EC62
tetradic
#6259EC #EC5999 #E3EC59 #59ECAB
square
#6259EC #EC5999 #E3EC59 #59ECAB
split-complementary
#6259EC #ECAB59 #99EC59
monochromatic
#1F15B6 #2E22E6 #6259EC #9690F2 #CAC7F9

Accessibility & contrast

On white

5.05
#6259EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6259EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6259EC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6259EC#FFFFFF#000000##FFFFFF
##6259EC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6259ec;
/* rgb */ color: rgb(98, 89, 236);
/* oklch */ color: oklch(55.9% 0.214 279.7);
Tailwind
colors: {
  custom: {
    50: '#9b88f3',
    500: '#6259ec',
    950: '#000000',
  },
}
SCSS
$custom: #6259ec;
$custom-light: #9b88f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6259ec",
  "rgb": {
    "r": 98,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 243.673,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55908,
    "c": 0.21363,
    "h": 279.7
  },
  "luminance": 0.15798
}

Semantic roles & 50–950 ramp

primary
#6259EC
secondary
#E7EAB6
accent
#DC0ACF
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6259EC

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

Preview Lab → · Contrast checker → · Palette generator →

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