#6261E2#6261E2

#6261E2 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.5% C 0.191 H 278.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6261E2
RGBrgb(98, 97, 226)
HSLhsl(240, 69%, 63%)
HSVhsv(240, 57%, 89%)
CMYKcmyk(56.6%, 57.1%, 0%, 11.4%)
CIE-LABlab(47.80, 36.75, -65.79)
CIE-LCHlch(47.80, 75.36, 299.18°)
OKLaboklab(56.48% 0.0289 -0.1887)
OKLCHoklch(56.48% 0.191 278.7)
XYZxyz(23.0348, 16.6355, 73.9339)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6261E2 #E1E261
analogous
#61A0E2 #6261E2 #A261E2
triadic
#6261E2 #E26261 #61E262
tetradic
#6261E2 #E261A0 #E1E261 #61E2A2
square
#6261E2 #E261A0 #E1E261 #61E2A2
split-complementary
#6261E2 #E2A261 #A0E261
monochromatic
#201FA9 #2F2DD9 #6261E2 #9595EB #C9C8F5

Accessibility & contrast

On white

4.85
#6261E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6261E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6261E2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6261E2#FFFFFF#000000##FFFFFF
##6261E21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#006CDF
Tritanopia (blue-blind)
#167F98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6261e2;
/* rgb */ color: rgb(98, 97, 226);
/* oklch */ color: oklch(56.5% 0.191 278.7);
Tailwind
colors: {
  custom: {
    50: '#998eec',
    500: '#6261e2',
    950: '#000000',
  },
}
SCSS
$custom: #6261e2;
$custom-light: #998eec;
$custom-dark: #000000;
JSON
{
  "hex": "#6261e2",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 226
  },
  "hsl": {
    "h": 240.465,
    "s": 68.984,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56481,
    "c": 0.19095,
    "h": 278.7
  },
  "luminance": 0.16637
}

Semantic roles & 50–950 ramp

primary
#6261E2
secondary
#E6E6B8
accent
#D115CF
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6261E2

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

Preview Lab → · Contrast checker → · Palette generator →

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