#6051F0#6051F0

#6051F0 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.9% C 0.228 H 280.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6051F0
RGBrgb(96, 81, 240)
HSLhsl(246, 84%, 63%)
HSVhsv(246, 66%, 94%)
CMYKcmyk(60%, 66.3%, 0%, 5.9%)
CIE-LABlab(45.17, 50.12, -77.98)
CIE-LCHlch(45.17, 92.70, 302.73°)
OKLaboklab(54.85% 0.0396 -0.2247)
OKLCHoklch(54.85% 0.228 280)
XYZxyz(23.4895, 14.6612, 84.0133)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6051F0 #E1F051
analogous
#5192F0 #6051F0 #AF51F0
triadic
#6051F0 #F06051 #51F060
tetradic
#6051F0 #F05192 #E1F051 #51F0AF
square
#6051F0 #F05192 #E1F051 #51F0AF
split-complementary
#6051F0 #F0AF51 #92F051
monochromatic
#2010B7 #2D19EB #6051F0 #9389F5 #C7C2FA

Accessibility & contrast

On white

5.34
#6051F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6051F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6051F0
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6051F0#FFFFFF#000000##FFFFFF
##6051F01.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F5
Deuteranopia (green-blind)
#0065ED
Tritanopia (blue-blind)
#007A9A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6051f0;
/* rgb */ color: rgb(96, 81, 240);
/* oklch */ color: oklch(54.9% 0.228 280.0);
Tailwind
colors: {
  custom: {
    50: '#9c83f6',
    500: '#6051f0',
    950: '#000000',
  },
}
SCSS
$custom: #6051f0;
$custom-light: #9c83f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6051f0",
  "rgb": {
    "r": 96,
    "g": 81,
    "b": 240
  },
  "hsl": {
    "h": 245.66,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54852,
    "c": 0.22814,
    "h": 280
  },
  "luminance": 0.14663
}

Semantic roles & 50–950 ramp

primary
#6051F0
secondary
#E6EBB2
accent
#E105CC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6051F0

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

Preview Lab → · Contrast checker → · Palette generator →

#6051F0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva