#6051F2#6051F2

#6051F2 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 55.0% C 0.231 H 279.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6051F2
RGBrgb(96, 81, 242)
HSLhsl(246, 86%, 63%)
HSVhsv(246, 67%, 95%)
CMYKcmyk(60.3%, 66.5%, 0%, 5.1%)
CIE-LABlab(45.33, 50.73, -78.83)
CIE-LCHlch(45.33, 93.75, 302.76°)
OKLaboklab(55.02% 0.0394 -0.2272)
OKLCHoklch(55.02% 0.231 279.8)
XYZxyz(23.7882, 14.7807, 85.5866)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6051F2 #E3F251
analogous
#5192F2 #6051F2 #B051F2
triadic
#6051F2 #F26051 #51F260
tetradic
#6051F2 #F25192 #E3F251 #51F2B0
square
#6051F2 #F25192 #E3F251 #51F2B0
split-complementary
#6051F2 #F2B051 #92F251
monochromatic
#1E0EBB #2C18EE #6051F2 #948AF6 #C8C3FB

Accessibility & contrast

On white

5.31
#6051F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6051F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6051F2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6051F2#FFFFFF#000000##FFFFFF
##6051F21.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F7
Deuteranopia (green-blind)
#0065EF
Tritanopia (blue-blind)
#007B9B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6051f2;
/* rgb */ color: rgb(96, 81, 242);
/* oklch */ color: oklch(55.0% 0.231 279.8);
Tailwind
colors: {
  custom: {
    50: '#9c83f8',
    500: '#6051f2',
    950: '#000000',
  },
}
SCSS
$custom: #6051f2;
$custom-light: #9c83f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6051f2",
  "rgb": {
    "r": 96,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 245.59,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55022,
    "c": 0.23055,
    "h": 279.8
  },
  "luminance": 0.14782
}

Semantic roles & 50–950 ramp

primary
#6051F2
secondary
#E7ECB3
accent
#E303CE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6051F2

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

Preview Lab → · Contrast checker → · Palette generator →

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