#6251CA#6251CA

#6251CA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.9% C 0.180 H 284.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6251CA
RGBrgb(98, 81, 202)
HSLhsl(248, 53%, 55%)
HSVhsv(248, 60%, 79%)
CMYKcmyk(51.5%, 59.9%, 0%, 20.8%)
CIE-LABlab(42.38, 38.86, -60.86)
CIE-LCHlch(42.38, 72.21, 302.56°)
OKLaboklab(51.94% 0.0455 -0.1743)
OKLCHoklch(51.94% 0.18 284.6)
XYZxyz(18.6369, 12.7448, 57.3436)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6251CA #B9CA51
analogous
#517CCA #6251CA #9F51CA
triadic
#6251CA #CA6251 #51CA62
tetradic
#6251CA #CA517C #B9CA51 #51CA9F
square
#6251CA #CA517C #B9CA51 #51CA9F
split-complementary
#6251CA #CA9F51 #7CCA51
monochromatic
#32257B #4434AA #6251CA #8C80D8 #B7AFE7

Accessibility & contrast

On white

5.92
#6251CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6251CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6251CA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6251CA#FFFFFF#000000##FFFFFF
##6251CA1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#396D86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6251ca;
/* rgb */ color: rgb(98, 81, 202);
/* oklch */ color: oklch(51.9% 0.180 284.6);
Tailwind
colors: {
  custom: {
    50: '#9782db',
    500: '#6251ca',
    950: '#000000',
  },
}
SCSS
$custom: #6251ca;
$custom-light: #9782db;
$custom-dark: #000000;
JSON
{
  "hex": "#6251ca",
  "rgb": {
    "r": 98,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 248.43,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51942,
    "c": 0.18017,
    "h": 284.6
  },
  "luminance": 0.12746
}

Semantic roles & 50–950 ramp

primary
#6251CA
secondary
#CED5A2
accent
#DD4BC8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6251CA

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

Preview Lab → · Contrast checker → · Palette generator →

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