#6261E7#6261E7

#6261E7 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.9% C 0.197 H 278.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6261E7
RGBrgb(98, 97, 231)
HSLhsl(240, 74%, 64%)
HSVhsv(240, 58%, 91%)
CMYKcmyk(57.6%, 58%, 0%, 9.4%)
CIE-LABlab(48.15, 38.33, -68.04)
CIE-LCHlch(48.15, 78.09, 299.39°)
OKLaboklab(56.86% 0.0289 -0.1954)
OKLCHoklch(56.86% 0.197 278.4)
XYZxyz(23.7309, 16.9139, 77.6000)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6261E7 #E6E761
analogous
#61A3E7 #6261E7 #A561E7
triadic
#6261E7 #E76261 #61E762
tetradic
#6261E7 #E761A3 #E6E761 #61E7A5
square
#6261E7 #E761A3 #E6E761 #61E7A5
split-complementary
#6261E7 #E7A561 #A3E761
monochromatic
#1C1BB2 #2D2CDF #6261E7 #9796EF #CCCBF7

Accessibility & contrast

On white

4.79
#6261E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#6261E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6261E7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6261E7#FFFFFF#000000##FFFFFF
##6261E71.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#006DE4
Tritanopia (blue-blind)
#04819B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6261e7;
/* rgb */ color: rgb(98, 97, 231);
/* oklch */ color: oklch(56.9% 0.197 278.4);
Tailwind
colors: {
  custom: {
    50: '#9a8eef',
    500: '#6261e7',
    950: '#000000',
  },
}
SCSS
$custom: #6261e7;
$custom-light: #9a8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#6261e7",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 231
  },
  "hsl": {
    "h": 240.448,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56855,
    "c": 0.19748,
    "h": 278.4
  },
  "luminance": 0.16916
}

Semantic roles & 50–950 ramp

primary
#6261E7
secondary
#E9E9BB
accent
#D610D4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6261E7

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

Preview Lab → · Contrast checker → · Palette generator →

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