#6261EA#6261EA

#6261EA is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.1% C 0.201 H 278.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6261EA
RGBrgb(98, 97, 234)
HSLhsl(240, 77%, 65%)
HSVhsv(240, 59%, 92%)
CMYKcmyk(58.1%, 58.5%, 0%, 8.2%)
CIE-LABlab(48.37, 39.28, -69.38)
CIE-LCHlch(48.37, 79.73, 299.52°)
OKLaboklab(57.08% 0.0288 -0.1993)
OKLCHoklch(57.08% 0.201 278.2)
XYZxyz(24.1582, 17.0848, 79.8506)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6261EA #E9EA61
analogous
#61A5EA #6261EA #A761EA
triadic
#6261EA #EA6261 #61EA62
tetradic
#6261EA #EA61A5 #E9EA61 #61EAA7
square
#6261EA #EA61A5 #E9EA61 #61EAA7
split-complementary
#6261EA #EAA761 #A5EA61
monochromatic
#1A18B8 #2C2BE3 #6261EA #9897F1 #CDCDF8

Accessibility & contrast

On white

4.75
#6261EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6261EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6261EA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6261EA#FFFFFF#000000##FFFFFF
##6261EA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6261ea;
/* rgb */ color: rgb(98, 97, 234);
/* oklch */ color: oklch(57.1% 0.201 278.2);
Tailwind
colors: {
  custom: {
    50: '#9b8ef2',
    500: '#6261ea',
    950: '#000000',
  },
}
SCSS
$custom: #6261ea;
$custom-light: #9b8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#6261ea",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 240.438,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57082,
    "c": 0.20137,
    "h": 278.2
  },
  "luminance": 0.17087
}

Semantic roles & 50–950 ramp

primary
#6261EA
secondary
#EAEBBC
accent
#D90DD7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6261EA

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

Preview Lab → · Contrast checker → · Palette generator →

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