#6261BB#6261BB

#6261BB is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.8% C 0.138 H 281.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6261BB
RGBrgb(98, 97, 187)
HSLhsl(241, 40%, 56%)
HSVhsv(241, 48%, 73%)
CMYKcmyk(47.6%, 48.1%, 0%, 26.7%)
CIE-LABlab(45.27, 24.53, -47.51)
CIE-LCHlch(45.27, 53.47, 297.30°)
OKLaboklab(53.78% 0.0268 -0.135)
OKLCHoklch(53.78% 0.138 281.2)
XYZxyz(18.2786, 14.7330, 48.8847)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6261BB #BABB61
analogous
#618DBB #6261BB #8F61BB
triadic
#6261BB #BB6261 #61BB62
tetradic
#6261BB #BB618D #BABB61 #61BB8F
square
#6261BB #BB618D #BABB61 #61BB8F
split-complementary
#6261BB #BB8F61 #8DBB61
monochromatic
#313171 #44439C #6261BB #8D8CCD #B7B7E0

Accessibility & contrast

On white

5.32
#6261BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6261BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6261BB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6261BB#FFFFFF#000000##FFFFFF
##6261BB1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBE
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#437485
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6261bb;
/* rgb */ color: rgb(98, 97, 187);
/* oklch */ color: oklch(53.8% 0.138 281.2);
Tailwind
colors: {
  custom: {
    50: '#948ed0',
    500: '#6261bb',
    950: '#000000',
  },
}
SCSS
$custom: #6261bb;
$custom-light: #948ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6261bb",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 240.667,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53779,
    "c": 0.13763,
    "h": 281.2
  },
  "luminance": 0.14734
}

Semantic roles & 50–950 ramp

primary
#6261BB
secondary
#CECFA9
accent
#D058CE
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6261BB

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

Preview Lab → · Contrast checker → · Palette generator →

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