#6261DC#6261DC

#6261DC is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.0% C 0.183 H 279.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6261DC
RGBrgb(98, 97, 220)
HSLhsl(240, 64%, 62%)
HSVhsv(240, 56%, 86%)
CMYKcmyk(55.5%, 55.9%, 0%, 13.7%)
CIE-LABlab(47.38, 34.85, -63.07)
CIE-LCHlch(47.38, 72.05, 298.92°)
OKLaboklab(56.04% 0.0289 -0.1807)
OKLCHoklch(56.04% 0.183 279.1)
XYZxyz(22.2259, 16.3119, 69.6736)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6261DC #DBDC61
analogous
#619DDC #6261DC #A061DC
triadic
#6261DC #DC6261 #61DC62
tetradic
#6261DC #DC619D #DBDC61 #61DCA0
square
#6261DC #DC619D #DBDC61 #61DCA0
split-complementary
#6261DC #DCA061 #9DDC61
monochromatic
#24239F #302FD1 #6261DC #9493E7 #C6C5F2

Accessibility & contrast

On white

4.93
#6261DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#6261DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6261DC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6261DC#FFFFFF#000000##FFFFFF
##6261DC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#227E95
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6261dc;
/* rgb */ color: rgb(98, 97, 220);
/* oklch */ color: oklch(56.0% 0.183 279.1);
Tailwind
colors: {
  custom: {
    50: '#988ee8',
    500: '#6261dc',
    950: '#000000',
  },
}
SCSS
$custom: #6261dc;
$custom-light: #988ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#6261dc",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 240.488,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5604,
    "c": 0.18302,
    "h": 279.1
  },
  "luminance": 0.16313
}

Semantic roles & 50–950 ramp

primary
#6261DC
secondary
#E3E3B6
accent
#CC1ACA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6261DC

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

Preview Lab → · Contrast checker → · Palette generator →

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