#6261D2#6261D2

#6261D2 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.3% C 0.170 H 279.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6261D2
RGBrgb(98, 97, 210)
HSLhsl(241, 56%, 60%)
HSVhsv(241, 54%, 82%)
CMYKcmyk(53.3%, 53.8%, 0%, 17.6%)
CIE-LABlab(46.71, 31.69, -58.46)
CIE-LCHlch(46.71, 66.50, 298.47°)
OKLaboklab(55.33% 0.0286 -0.1672)
OKLCHoklch(55.33% 0.17 279.7)
XYZxyz(20.9409, 15.7979, 62.9061)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6261D2 #D1D261
analogous
#6198D2 #6261D2 #9A61D2
triadic
#6261D2 #D26261 #61D262
tetradic
#6261D2 #D26198 #D1D261 #61D29A
square
#6261D2 #D26198 #D1D261 #61D29A
split-complementary
#6261D2 #D29A61 #98D261
monochromatic
#2A2990 #3836BF #6261D2 #9191E0 #C1C0ED

Accessibility & contrast

On white

5.05
#6261D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6261D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6261D2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6261D2#FFFFFF#000000##FFFFFF
##6261D21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D73D6
Deuteranopia (green-blind)
#036AD0
Tritanopia (blue-blind)
#2F7B90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6261d2;
/* rgb */ color: rgb(98, 97, 210);
/* oklch */ color: oklch(55.3% 0.170 279.7);
Tailwind
colors: {
  custom: {
    50: '#978ee0',
    500: '#6261d2',
    950: '#000000',
  },
}
SCSS
$custom: #6261d2;
$custom-light: #978ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#6261d2",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 210
  },
  "hsl": {
    "h": 240.531,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55325,
    "c": 0.16959,
    "h": 279.7
  },
  "luminance": 0.15799
}

Semantic roles & 50–950 ramp

primary
#6261D2
secondary
#DDDDB2
accent
#C322C2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6261D2

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

Preview Lab → · Contrast checker → · Palette generator →

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