#6261D5#6261D5

#6261D5 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.5% C 0.174 H 279.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6261D5
RGBrgb(98, 97, 213)
HSLhsl(241, 58%, 61%)
HSVhsv(241, 54%, 84%)
CMYKcmyk(54%, 54.5%, 0%, 16.5%)
CIE-LABlab(46.91, 32.64, -59.85)
CIE-LCHlch(46.91, 68.17, 298.61°)
OKLaboklab(55.54% 0.0287 -0.1713)
OKLCHoklch(55.54% 0.174 279.5)
XYZxyz(21.3182, 15.9488, 64.8930)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6261D5 #D4D561
analogous
#619AD5 #6261D5 #9C61D5
triadic
#6261D5 #D56261 #61D562
tetradic
#6261D5 #D5619A #D4D561 #61D59C
square
#6261D5 #D5619A #D4D561 #61D59C
split-complementary
#6261D5 #D59C61 #9AD561
monochromatic
#282794 #3534C5 #6261D5 #9291E2 #C2C2EF

Accessibility & contrast

On white

5.01
#6261D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6261D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6261D5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6261D5#FFFFFF#000000##FFFFFF
##6261D51.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1674D9
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#2C7C92
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6261d5;
/* rgb */ color: rgb(98, 97, 213);
/* oklch */ color: oklch(55.5% 0.174 279.5);
Tailwind
colors: {
  custom: {
    50: '#978ee3',
    500: '#6261d5',
    950: '#000000',
  },
}
SCSS
$custom: #6261d5;
$custom-light: #978ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#6261d5",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 213
  },
  "hsl": {
    "h": 240.517,
    "s": 58,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55537,
    "c": 0.17365,
    "h": 279.5
  },
  "luminance": 0.1595
}

Semantic roles & 50–950 ramp

primary
#6261D5
secondary
#DEDFB3
accent
#C620C4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #6261D5

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

Preview Lab → · Contrast checker → · Palette generator →

#6261D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva