#6261E6#6261E6

#6261E6 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.8% C 0.196 H 278.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#6261E6
RGBrgb(98, 97, 230)
HSLhsl(240, 73%, 64%)
HSVhsv(240, 58%, 90%)
CMYKcmyk(57.4%, 57.8%, 0%, 9.8%)
CIE-LABlab(48.08, 38.01, -67.59)
CIE-LCHlch(48.08, 77.55, 299.35°)
OKLaboklab(56.78% 0.0289 -0.194)
OKLCHoklch(56.78% 0.196 278.5)
XYZxyz(23.5901, 16.8576, 76.8583)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6261E6 #E5E661
analogous
#61A3E6 #6261E6 #A561E6
triadic
#6261E6 #E66261 #61E662
tetradic
#6261E6 #E661A3 #E5E661 #61E6A5
square
#6261E6 #E661A3 #E5E661 #61E6A5
split-complementary
#6261E6 #E6A561 #A3E661
monochromatic
#1D1CB1 #2D2CDE #6261E6 #9796EE #CBCBF7

Accessibility & contrast

On white

4.80
#6261E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#6261E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6261E6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6261E6#FFFFFF#000000##FFFFFF
##6261E61.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#006DE3
Tritanopia (blue-blind)
#09819A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6261e6;
/* rgb */ color: rgb(98, 97, 230);
/* oklch */ color: oklch(56.8% 0.196 278.5);
Tailwind
colors: {
  custom: {
    50: '#9a8eef',
    500: '#6261e6',
    950: '#000000',
  },
}
SCSS
$custom: #6261e6;
$custom-light: #9a8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#6261e6",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 230
  },
  "hsl": {
    "h": 240.451,
    "s": 72.678,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56779,
    "c": 0.19618,
    "h": 278.5
  },
  "luminance": 0.16859
}

Semantic roles & 50–950 ramp

primary
#6261E6
secondary
#E8E9BA
accent
#D511D3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6261E6

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

Preview Lab → · Contrast checker → · Palette generator →

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