#6261E4#6261E4

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

Color values

HEX#6261E4
RGBrgb(98, 97, 228)
HSLhsl(240, 71%, 64%)
HSVhsv(240, 57%, 89%)
CMYKcmyk(57%, 57.5%, 0%, 10.6%)
CIE-LABlab(47.94, 37.38, -66.70)
CIE-LCHlch(47.94, 76.46, 299.27°)
OKLaboklab(56.63% 0.0289 -0.1914)
OKLCHoklch(56.63% 0.194 278.6)
XYZxyz(23.3108, 16.7459, 75.3876)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6261E4 #E3E461
analogous
#61A1E4 #6261E4 #A361E4
triadic
#6261E4 #E46261 #61E462
tetradic
#6261E4 #E461A1 #E3E461 #61E4A3
square
#6261E4 #E461A1 #E3E461 #61E4A3
split-complementary
#6261E4 #E4A361 #A1E461
monochromatic
#1F1EAD #2E2DDB #6261E4 #9695ED #CACAF6

Accessibility & contrast

On white

4.83
#6261E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#6261E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6261E4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6261E4#FFFFFF#000000##FFFFFF
##6261E41.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#118099
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6261e4;
/* rgb */ color: rgb(98, 97, 228);
/* oklch */ color: oklch(56.6% 0.194 278.6);
Tailwind
colors: {
  custom: {
    50: '#9a8eed',
    500: '#6261e4',
    950: '#000000',
  },
}
SCSS
$custom: #6261e4;
$custom-light: #9a8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#6261e4",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 228
  },
  "hsl": {
    "h": 240.458,
    "s": 70.811,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5663,
    "c": 0.19357,
    "h": 278.6
  },
  "luminance": 0.16747
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6261E4

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

Preview Lab → · Contrast checker → · Palette generator →

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