#6259AC#6259AC

#6259AC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.128 H 285.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6259AC
RGBrgb(98, 89, 172)
HSLhsl(247, 33%, 51%)
HSVhsv(247, 48%, 67%)
CMYKcmyk(43%, 48.3%, 0%, 32.5%)
CIE-LABlab(42.34, 24.93, -43.41)
CIE-LCHlch(42.34, 50.06, 299.87°)
OKLaboklab(51.29% 0.0351 -0.123)
OKLCHoklch(51.29% 0.128 285.9)
XYZxyz(16.0536, 12.7194, 40.6309)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6259AC #A3AC59
analogous
#5979AC #6259AC #8B59AC
triadic
#6259AC #AC6259 #59AC62
tetradic
#6259AC #AC5979 #A3AC59 #59AC8B
square
#6259AC #AC5979 #A3AC59 #59AC8B
split-complementary
#6259AC #AC8B59 #79AC59
monochromatic
#332E5C #4A4385 #6259AC #8982C0 #AFABD5

Accessibility & contrast

On white

5.93
#6259AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6259AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6259AC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6259AC#FFFFFF#000000##FFFFFF
##6259AC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3866AF
Deuteranopia (green-blind)
#3662AA
Tritanopia (blue-blind)
#4C6A7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6259ac;
/* rgb */ color: rgb(98, 89, 172);
/* oklch */ color: oklch(51.3% 0.128 285.9);
Tailwind
colors: {
  custom: {
    50: '#9388c5',
    500: '#6259ac',
    950: '#000000',
  },
}
SCSS
$custom: #6259ac;
$custom-light: #9388c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6259ac",
  "rgb": {
    "r": 98,
    "g": 89,
    "b": 172
  },
  "hsl": {
    "h": 246.506,
    "s": 33.333,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.12789,
    "h": 285.9
  },
  "luminance": 0.1272
}

Semantic roles & 50–950 ramp

primary
#6259AC
secondary
#BFC39E
accent
#C95EBE
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #6259AC

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

Preview Lab → · Contrast checker → · Palette generator →

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