#6261EB#6261EB

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

Color values

HEX#6261EB
RGBrgb(98, 97, 235)
HSLhsl(240, 78%, 65%)
HSVhsv(240, 59%, 92%)
CMYKcmyk(58.3%, 58.7%, 0%, 7.8%)
CIE-LABlab(48.44, 39.60, -69.83)
CIE-LCHlch(48.44, 80.27, 299.56°)
OKLaboklab(57.16% 0.0288 -0.2006)
OKLCHoklch(57.16% 0.203 278.2)
XYZxyz(24.3023, 17.1425, 80.6093)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6261EB #EAEB61
analogous
#61A5EB #6261EB #A761EB
triadic
#6261EB #EB6261 #61EB62
tetradic
#6261EB #EB61A5 #EAEB61 #61EBA7
square
#6261EB #EB61A5 #EAEB61 #61EBA7
split-complementary
#6261EB #EBA761 #A5EB61
monochromatic
#1918BA #2C2BE4 #6261EB #9897F2 #CECEF9

Accessibility & contrast

On white

4.74
#6261EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6261EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6261EB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6261EB#FFFFFF#000000##FFFFFF
##6261EB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6261eb;
/* rgb */ color: rgb(98, 97, 235);
/* oklch */ color: oklch(57.2% 0.203 278.2);
Tailwind
colors: {
  custom: {
    50: '#9b8ef2',
    500: '#6261eb',
    950: '#000000',
  },
}
SCSS
$custom: #6261eb;
$custom-light: #9b8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#6261eb",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 240.435,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57158,
    "c": 0.20267,
    "h": 278.2
  },
  "luminance": 0.17144
}

Semantic roles & 50–950 ramp

primary
#6261EB
secondary
#EBEBBD
accent
#DA0CD8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6261EB

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

Preview Lab → · Contrast checker → · Palette generator →

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