#6259CB#6259CB

#6259CB is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.4% C 0.171 H 282.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6259CB
RGBrgb(98, 89, 203)
HSLhsl(245, 52%, 57%)
HSVhsv(245, 56%, 80%)
CMYKcmyk(51.7%, 56.2%, 0%, 20.4%)
CIE-LABlab(44.31, 34.37, -58.31)
CIE-LCHlch(44.31, 67.69, 300.52°)
OKLaboklab(53.39% 0.037 -0.1668)
OKLCHoklch(53.39% 0.171 282.5)
XYZxyz(19.3856, 14.0521, 58.1792)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6259CB #C2CB59
analogous
#5989CB #6259CB #9B59CB
triadic
#6259CB #CB6259 #59CB62
tetradic
#6259CB #CB5989 #C2CB59 #59CB9B
square
#6259CB #CB5989 #C2CB59 #59CB9B
split-complementary
#6259CB #CB9B59 #89CB59
monochromatic
#2F2881 #4137B0 #6259CB #8E88DA #BAB6E8

Accessibility & contrast

On white

5.51
#6259CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6259CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6259CB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6259CB#FFFFFF#000000##FFFFFF
##6259CB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056DCF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#387389
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6259cb;
/* rgb */ color: rgb(98, 89, 203);
/* oklch */ color: oklch(53.4% 0.171 282.5);
Tailwind
colors: {
  custom: {
    50: '#9688dc',
    500: '#6259cb',
    950: '#000000',
  },
}
SCSS
$custom: #6259cb;
$custom-light: #9688dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6259cb",
  "rgb": {
    "r": 98,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 244.737,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.17085,
    "h": 282.5
  },
  "luminance": 0.14053
}

Semantic roles & 50–950 ramp

primary
#6259CB
secondary
#D3D7A9
accent
#DC4CD0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6259CB

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

Preview Lab → · Contrast checker → · Palette generator →

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