#6259EB#6259EB

#6259EB is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.8% C 0.212 H 279.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6259EB
RGBrgb(98, 89, 235)
HSLhsl(244, 78%, 64%)
HSVhsv(244, 62%, 92%)
CMYKcmyk(58.3%, 62.1%, 0%, 7.8%)
CIE-LABlab(46.63, 44.31, -72.77)
CIE-LCHlch(46.63, 85.20, 301.34°)
OKLaboklab(55.83% 0.036 -0.2093)
OKLCHoklch(55.83% 0.212 279.7)
XYZxyz(23.6000, 15.7379, 80.3753)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6259EB #E2EB59
analogous
#5999EB #6259EB #AB59EB
triadic
#6259EB #EB6259 #59EB62
tetradic
#6259EB #EB5999 #E2EB59 #59EBAB
square
#6259EB #EB5999 #E2EB59 #59EBAB
split-complementary
#6259EB #EBAB59 #99EB59
monochromatic
#1F16B4 #2E22E4 #6259EB #9690F2 #C9C6F8

Accessibility & contrast

On white

5.06
#6259EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6259EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6259EB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6259EB#FFFFFF#000000##FFFFFF
##6259EB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6259eb;
/* rgb */ color: rgb(98, 89, 235);
/* oklch */ color: oklch(55.8% 0.212 279.7);
Tailwind
colors: {
  custom: {
    50: '#9b88f2',
    500: '#6259eb',
    950: '#000000',
  },
}
SCSS
$custom: #6259eb;
$custom-light: #9b88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6259eb",
  "rgb": {
    "r": 98,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 243.699,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55828,
    "c": 0.21238,
    "h": 279.7
  },
  "luminance": 0.1574
}

Semantic roles & 50–950 ramp

primary
#6259EB
secondary
#E7EAB6
accent
#DB0BCE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6259EB

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

Preview Lab → · Contrast checker → · Palette generator →

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