#6261DF#6261DF

#6261DF is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.3% C 0.187 H 278.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6261DF
RGBrgb(98, 97, 223)
HSLhsl(240, 66%, 63%)
HSVhsv(240, 57%, 87%)
CMYKcmyk(56.1%, 56.5%, 0%, 12.5%)
CIE-LABlab(47.59, 35.80, -64.43)
CIE-LCHlch(47.59, 73.71, 299.05°)
OKLaboklab(56.26% 0.0289 -0.1847)
OKLCHoklch(56.26% 0.187 278.9)
XYZxyz(22.6268, 16.4722, 71.7849)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6261DF #DEDF61
analogous
#619FDF #6261DF #A161DF
triadic
#6261DF #DF6261 #61DF62
tetradic
#6261DF #DF619F #DEDF61 #61DFA1
square
#6261DF #DF619F #DEDF61 #61DFA1
split-complementary
#6261DF #DFA161 #9FDF61
monochromatic
#2221A4 #2F2ED5 #6261DF #9594E9 #C7C7F4

Accessibility & contrast

On white

4.89
#6261DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#6261DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6261DF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6261DF#FFFFFF#000000##FFFFFF
##6261DF1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#1D7F97
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6261df;
/* rgb */ color: rgb(98, 97, 223);
/* oklch */ color: oklch(56.3% 0.187 278.9);
Tailwind
colors: {
  custom: {
    50: '#998eea',
    500: '#6261df',
    950: '#000000',
  },
}
SCSS
$custom: #6261df;
$custom-light: #998eea;
$custom-dark: #000000;
JSON
{
  "hex": "#6261df",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 240.476,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56259,
    "c": 0.187,
    "h": 278.9
  },
  "luminance": 0.16474
}

Semantic roles & 50–950 ramp

primary
#6261DF
secondary
#E4E5B7
accent
#CE17CD
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6261DF

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

Preview Lab → · Contrast checker → · Palette generator →

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