#6051CF#6051CF

#6051CF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.2% C 0.187 H 283.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6051CF
RGBrgb(96, 81, 207)
HSLhsl(247, 57%, 56%)
HSVhsv(247, 61%, 81%)
CMYKcmyk(53.6%, 60.9%, 0%, 18.8%)
CIE-LABlab(42.58, 40.00, -63.43)
CIE-LCHlch(42.58, 74.99, 302.24°)
OKLaboklab(52.16% 0.0427 -0.1819)
OKLCHoklch(52.16% 0.187 283.2)
XYZxyz(19.0253, 12.8755, 60.5021)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6051CF #C0CF51
analogous
#5181CF #6051CF #9F51CF
triadic
#6051CF #CF6051 #51CF60
tetradic
#6051CF #CF5181 #C0CF51 #51CF9F
square
#6051CF #CF5181 #C0CF51 #51CF9F
split-complementary
#6051CF #CF9F51 #81CF51
monochromatic
#2F2482 #4031B2 #6051CF #8C81DC #B8B1E9

Accessibility & contrast

On white

5.87
#6051CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6051CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6051CF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6051CF#FFFFFF#000000##FFFFFF
##6051CF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#306F88
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6051cf;
/* rgb */ color: rgb(96, 81, 207);
/* oklch */ color: oklch(52.2% 0.187 283.2);
Tailwind
colors: {
  custom: {
    50: '#9682df',
    500: '#6051cf',
    950: '#000000',
  },
}
SCSS
$custom: #6051cf;
$custom-light: #9682df;
$custom-dark: #000000;
JSON
{
  "hex": "#6051cf",
  "rgb": {
    "r": 96,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 247.143,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52161,
    "c": 0.18689,
    "h": 283.2
  },
  "luminance": 0.12877
}

Semantic roles & 50–950 ramp

primary
#6051CF
secondary
#D2D8A4
accent
#E048CE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6051CF

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

Preview Lab → · Contrast checker → · Palette generator →

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