#6261B2#6261B2

#6261B2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.2% C 0.125 H 281.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6261B2
RGBrgb(98, 97, 178)
HSLhsl(241, 34%, 54%)
HSVhsv(241, 46%, 70%)
CMYKcmyk(44.9%, 45.5%, 0%, 30.2%)
CIE-LABlab(44.74, 21.78, -43.10)
CIE-LCHlch(44.74, 48.29, 296.81°)
OKLaboklab(53.22% 0.0256 -0.122)
OKLCHoklch(53.22% 0.125 281.9)
XYZxyz(17.3452, 14.3596, 43.9686)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6261B2 #B1B261
analogous
#6189B2 #6261B2 #8B61B2
triadic
#6261B2 #B26261 #61B262
tetradic
#6261B2 #B26189 #B1B261 #61B28B
square
#6261B2 #B26189 #B1B261 #61B28B
split-complementary
#6261B2 #B28B61 #89B261
monochromatic
#333267 #474690 #6261B2 #8B8AC6 #B4B3DA

Accessibility & contrast

On white

5.42
#6261B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6261B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6261B2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6261B2#FFFFFF#000000##FFFFFF
##6261B21.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416DB5
Deuteranopia (green-blind)
#3D67B0
Tritanopia (blue-blind)
#487281
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6261b2;
/* rgb */ color: rgb(98, 97, 178);
/* oklch */ color: oklch(53.2% 0.125 281.9);
Tailwind
colors: {
  custom: {
    50: '#938dc9',
    500: '#6261b2',
    950: '#000000',
  },
}
SCSS
$custom: #6261b2;
$custom-light: #938dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6261b2",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 178
  },
  "hsl": {
    "h": 240.741,
    "s": 34.468,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53215,
    "c": 0.12471,
    "h": 281.9
  },
  "luminance": 0.1436
}

Semantic roles & 50–950 ramp

primary
#6261B2
secondary
#C8C9A6
accent
#CB5DC9
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #6261B2

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

Preview Lab → · Contrast checker → · Palette generator →

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