#6259BC#6259BC

#6259BC is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.150 H 284.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6259BC
RGBrgb(98, 89, 188)
HSLhsl(245, 42%, 54%)
HSVhsv(245, 53%, 74%)
CMYKcmyk(47.9%, 52.7%, 0%, 26.3%)
CIE-LABlab(43.32, 29.76, -51.22)
CIE-LCHlch(43.32, 59.24, 300.16°)
OKLaboklab(52.34% 0.0365 -0.1459)
OKLCHoklch(52.34% 0.15 284)
XYZxyz(17.6838, 13.3714, 49.2164)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6259BC #B3BC59
analogous
#5982BC #6259BC #9459BC
triadic
#6259BC #BC6259 #59BC62
tetradic
#6259BC #BC5982 #B3BC59 #59BC94
square
#6259BC #BC5982 #B3BC59 #59BC94
split-complementary
#6259BC #BC9459 #82BC59
monochromatic
#322C6E #463E9A #6259BC #8B85CE #B4B0DF

Accessibility & contrast

On white

5.72
#6259BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6259BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6259BC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6259BC#FFFFFF#000000##FFFFFF
##6259BC1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769BF
Deuteranopia (green-blind)
#2263BA
Tritanopia (blue-blind)
#436F82
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6259bc;
/* rgb */ color: rgb(98, 89, 188);
/* oklch */ color: oklch(52.3% 0.150 284.0);
Tailwind
colors: {
  custom: {
    50: '#9488d1',
    500: '#6259bc',
    950: '#000000',
  },
}
SCSS
$custom: #6259bc;
$custom-light: #9488d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6259bc",
  "rgb": {
    "r": 98,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 245.455,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52336,
    "c": 0.15042,
    "h": 284
  },
  "luminance": 0.13372
}

Semantic roles & 50–950 ramp

primary
#6259BC
secondary
#CACDA3
accent
#D256C7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6259BC

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

Preview Lab → · Contrast checker → · Palette generator →

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