#6251F3#6251F3

#6251F3 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.3% C 0.231 H 280.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6251F3
RGBrgb(98, 81, 243)
HSLhsl(246, 87%, 64%)
HSVhsv(246, 67%, 95%)
CMYKcmyk(59.7%, 66.7%, 0%, 4.7%)
CIE-LABlab(45.57, 51.32, -79.00)
CIE-LCHlch(45.57, 94.21, 303.01°)
OKLaboklab(55.26% 0.0417 -0.2276)
OKLCHoklch(55.26% 0.231 280.4)
XYZxyz(24.1520, 14.9509, 86.3897)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6251F3 #E2F351
analogous
#5191F3 #6251F3 #B351F3
triadic
#6251F3 #F36251 #51F362
tetradic
#6251F3 #F35191 #E2F351 #51F3B3
square
#6251F3 #F35191 #E2F351 #51F3B3
split-complementary
#6251F3 #F3B351 #91F351
monochromatic
#1F0DBD #2E18EF #6251F3 #968AF7 #C9C4FB

Accessibility & contrast

On white

5.26
#6251F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6251F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6251F3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6251F3#FFFFFF#000000##FFFFFF
##6251F31.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6251f3;
/* rgb */ color: rgb(98, 81, 243);
/* oklch */ color: oklch(55.3% 0.231 280.4);
Tailwind
colors: {
  custom: {
    50: '#9d83f8',
    500: '#6251f3',
    950: '#000000',
  },
}
SCSS
$custom: #6251f3;
$custom-light: #9d83f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6251f3",
  "rgb": {
    "r": 98,
    "g": 81,
    "b": 243
  },
  "hsl": {
    "h": 246.296,
    "s": 87.097,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55255,
    "c": 0.23141,
    "h": 280.4
  },
  "luminance": 0.14953
}

Semantic roles & 50–950 ramp

primary
#6251F3
secondary
#E7EDB3
accent
#E402CC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6251F3

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

Preview Lab → · Contrast checker → · Palette generator →

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