#6251F2#6251F2

#6251F2 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.2% C 0.230 H 280.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6251F2
RGBrgb(98, 81, 242)
HSLhsl(246, 86%, 63%)
HSVhsv(246, 67%, 95%)
CMYKcmyk(59.5%, 66.5%, 0%, 5.1%)
CIE-LABlab(45.48, 51.02, -78.58)
CIE-LCHlch(45.48, 93.69, 302.99°)
OKLaboklab(55.17% 0.0419 -0.2264)
OKLCHoklch(55.17% 0.23 280.5)
XYZxyz(24.0014, 14.8906, 85.5966)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6251F2 #E1F251
analogous
#5191F2 #6251F2 #B251F2
triadic
#6251F2 #F26251 #51F262
tetradic
#6251F2 #F25191 #E1F251 #51F2B2
square
#6251F2 #F25191 #E1F251 #51F2B2
split-complementary
#6251F2 #F2B251 #91F251
monochromatic
#200EBB #2F18EE #6251F2 #958AF6 #C9C3FB

Accessibility & contrast

On white

5.28
#6251F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6251F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6251F2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6251F2#FFFFFF#000000##FFFFFF
##6251F21.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0066EF
Tritanopia (blue-blind)
#007B9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6251f2;
/* rgb */ color: rgb(98, 81, 242);
/* oklch */ color: oklch(55.2% 0.230 280.5);
Tailwind
colors: {
  custom: {
    50: '#9d83f8',
    500: '#6251f2',
    950: '#000000',
  },
}
SCSS
$custom: #6251f2;
$custom-light: #9d83f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6251f2",
  "rgb": {
    "r": 98,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 246.335,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5517,
    "c": 0.23021,
    "h": 280.5
  },
  "luminance": 0.14892
}

Semantic roles & 50–950 ramp

primary
#6251F2
secondary
#E6ECB3
accent
#E303CB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6251F2

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

Preview Lab → · Contrast checker → · Palette generator →

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