#6261F2#6261F2

#6261F2 is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.7% C 0.212 H 277.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6261F2
RGBrgb(98, 97, 242)
HSLhsl(240, 85%, 66%)
HSVhsv(240, 60%, 95%)
CMYKcmyk(59.5%, 59.9%, 0%, 5.1%)
CIE-LABlab(48.95, 41.81, -72.92)
CIE-LCHlch(48.95, 84.06, 299.83°)
OKLaboklab(57.7% 0.0286 -0.2097)
OKLCHoklch(57.7% 0.212 277.8)
XYZxyz(25.3336, 17.5550, 86.0406)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6261F2 #F1F261
analogous
#61A9F2 #6261F2 #AB61F2
triadic
#6261F2 #F26261 #61F262
tetradic
#6261F2 #F261A9 #F1F261 #61F2AB
square
#6261F2 #F261A9 #F1F261 #61F2AB
split-complementary
#6261F2 #F2AB61 #A9F261
monochromatic
#1210C8 #2A28ED #6261F2 #9A9AF7 #D2D2FB

Accessibility & contrast

On white

4.65
#6261F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6261F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6261F2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6261F2#FFFFFF#000000##FFFFFF
##6261F21.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#0085A0
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6261f2;
/* rgb */ color: rgb(98, 97, 242);
/* oklch */ color: oklch(57.7% 0.212 277.8);
Tailwind
colors: {
  custom: {
    50: '#9c8ef7',
    500: '#6261f2',
    950: '#000000',
  },
}
SCSS
$custom: #6261f2;
$custom-light: #9c8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#6261f2",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 242
  },
  "hsl": {
    "h": 240.414,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57697,
    "c": 0.21163,
    "h": 277.8
  },
  "luminance": 0.17557
}

Semantic roles & 50–950 ramp

primary
#6261F2
secondary
#EFEFC0
accent
#E104E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6261F2

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

Preview Lab → · Contrast checker → · Palette generator →

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