#6261DB#6261DB

#6261DB is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.0% C 0.182 H 279.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6261DB
RGBrgb(98, 97, 219)
HSLhsl(240, 63%, 62%)
HSVhsv(240, 56%, 86%)
CMYKcmyk(55.3%, 55.7%, 0%, 14.1%)
CIE-LABlab(47.31, 34.53, -62.61)
CIE-LCHlch(47.31, 71.50, 298.88°)
OKLaboklab(55.97% 0.0289 -0.1794)
OKLCHoklch(55.97% 0.182 279.1)
XYZxyz(22.0939, 16.2591, 68.9782)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6261DB #DADB61
analogous
#619DDB #6261DB #9F61DB
triadic
#6261DB #DB6261 #61DB62
tetradic
#6261DB #DB619D #DADB61 #61DB9F
square
#6261DB #DB619D #DADB61 #61DB9F
split-complementary
#6261DB #DB9F61 #9DDB61
monochromatic
#25249E #312FD0 #6261DB #9493E6 #C5C5F2

Accessibility & contrast

On white

4.94
#6261DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#6261DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6261DB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6261DB#FFFFFF#000000##FFFFFF
##6261DB1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#247D95
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6261db;
/* rgb */ color: rgb(98, 97, 219);
/* oklch */ color: oklch(56.0% 0.182 279.1);
Tailwind
colors: {
  custom: {
    50: '#988ee7',
    500: '#6261db',
    950: '#000000',
  },
}
SCSS
$custom: #6261db;
$custom-light: #988ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#6261db",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 219
  },
  "hsl": {
    "h": 240.492,
    "s": 62.887,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55967,
    "c": 0.18169,
    "h": 279.1
  },
  "luminance": 0.16261
}

Semantic roles & 50–950 ramp

primary
#6261DB
secondary
#E2E2B5
accent
#CB1BC9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6261DB

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

Preview Lab → · Contrast checker → · Palette generator →

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