#6251E4#6251E4

#6251E4 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.0% C 0.213 H 281.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6251E4
RGBrgb(98, 81, 228)
HSLhsl(247, 73%, 61%)
HSVhsv(247, 64%, 89%)
CMYKcmyk(57%, 64.5%, 0%, 10.6%)
CIE-LABlab(44.35, 46.77, -72.53)
CIE-LCHlch(44.35, 86.30, 302.81°)
OKLaboklab(54% 0.0435 -0.2086)
OKLCHoklch(54% 0.213 281.8)
XYZxyz(21.9787, 14.0815, 74.9436)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6251E4 #D3E451
analogous
#5189E4 #6251E4 #AB51E4
triadic
#6251E4 #E46251 #51E462
tetradic
#6251E4 #E45189 #D3E451 #51E4AB
square
#6251E4 #E45189 #D3E451 #51E4AB
split-complementary
#6251E4 #E4AB51 #89E451
monochromatic
#2919A2 #3621D7 #6251E4 #9286EC #C2BBF4

Accessibility & contrast

On white

5.50
#6251E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#6251E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6251E4
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6251E4#FFFFFF#000000##FFFFFF
##6251E41.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#177693
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6251e4;
/* rgb */ color: rgb(98, 81, 228);
/* oklch */ color: oklch(54.0% 0.213 281.8);
Tailwind
colors: {
  custom: {
    50: '#9b83ee',
    500: '#6251e4',
    950: '#000000',
  },
}
SCSS
$custom: #6251e4;
$custom-light: #9b83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6251e4",
  "rgb": {
    "r": 98,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 246.939,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53999,
    "c": 0.21313,
    "h": 281.8
  },
  "luminance": 0.14083
}

Semantic roles & 50–950 ramp

primary
#6251E4
secondary
#DEE4AC
accent
#D510BE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6251E4

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

Preview Lab → · Contrast checker → · Palette generator →

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