#6261E3#6261E3

#6261E3 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.6% C 0.192 H 278.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#6261E3
RGBrgb(98, 97, 227)
HSLhsl(240, 70%, 64%)
HSVhsv(240, 57%, 89%)
CMYKcmyk(56.8%, 57.3%, 0%, 11%)
CIE-LABlab(47.87, 37.06, -66.24)
CIE-LCHlch(47.87, 75.91, 299.23°)
OKLaboklab(56.56% 0.0289 -0.1901)
OKLCHoklch(56.56% 0.192 278.6)
XYZxyz(23.1724, 16.6905, 74.6587)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6261E3 #E2E361
analogous
#61A1E3 #6261E3 #A361E3
triadic
#6261E3 #E36261 #61E362
tetradic
#6261E3 #E361A1 #E2E361 #61E3A3
square
#6261E3 #E361A1 #E2E361 #61E3A3
split-complementary
#6261E3 #E3A361 #A1E361
monochromatic
#1F1EAB #2E2DDA #6261E3 #9695EC #C9C9F5

Accessibility & contrast

On white

4.84
#6261E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#6261E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6261E3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6261E3#FFFFFF#000000##FFFFFF
##6261E31.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#148099
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6261e3;
/* rgb */ color: rgb(98, 97, 227);
/* oklch */ color: oklch(56.6% 0.192 278.6);
Tailwind
colors: {
  custom: {
    50: '#998eed',
    500: '#6261e3',
    950: '#000000',
  },
}
SCSS
$custom: #6261e3;
$custom-light: #998eed;
$custom-dark: #000000;
JSON
{
  "hex": "#6261e3",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 227
  },
  "hsl": {
    "h": 240.462,
    "s": 69.892,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56555,
    "c": 0.19225,
    "h": 278.6
  },
  "luminance": 0.16692
}

Semantic roles & 50–950 ramp

primary
#6261E3
secondary
#E7E7B9
accent
#D214D0
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6261E3

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

Preview Lab → · Contrast checker → · Palette generator →

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