#6259D2#6259D2

#6259D2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.9% C 0.180 H 281.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6259D2
RGBrgb(98, 89, 210)
HSLhsl(244, 57%, 59%)
HSVhsv(244, 58%, 82%)
CMYKcmyk(53.3%, 57.6%, 0%, 17.6%)
CIE-LABlab(44.79, 36.54, -61.55)
CIE-LCHlch(44.79, 71.58, 300.69°)
OKLaboklab(53.9% 0.037 -0.1763)
OKLCHoklch(53.9% 0.18 281.8)
XYZxyz(20.2387, 14.3934, 62.6720)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6259D2 #C9D259
analogous
#598CD2 #6259D2 #9E59D2
triadic
#6259D2 #D26259 #59D262
tetradic
#6259D2 #D2598C #C9D259 #59D29E
square
#6259D2 #D2598C #C9D259 #59D29E
split-complementary
#6259D2 #D29E59 #8CD259
monochromatic
#2D268B #3D33BB #6259D2 #9089DF #BDB9EC

Accessibility & contrast

On white

5.41
#6259D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6259D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6259D2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6259D2#FFFFFF#000000##FFFFFF
##6259D21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#31758D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6259d2;
/* rgb */ color: rgb(98, 89, 210);
/* oklch */ color: oklch(53.9% 0.180 281.8);
Tailwind
colors: {
  custom: {
    50: '#9788e1',
    500: '#6259d2',
    950: '#000000',
  },
}
SCSS
$custom: #6259d2;
$custom-light: #9788e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6259d2",
  "rgb": {
    "r": 98,
    "g": 89,
    "b": 210
  },
  "hsl": {
    "h": 244.463,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53901,
    "c": 0.18017,
    "h": 281.8
  },
  "luminance": 0.14395
}

Semantic roles & 50–950 ramp

primary
#6259D2
secondary
#D8DBAB
accent
#E147D5
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6259D2

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

Preview Lab → · Contrast checker → · Palette generator →

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