#6051AF#6051AF

#6051AF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.144 H 287.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#6051AF
RGBrgb(96, 81, 175)
HSLhsl(250, 37%, 50%)
HSVhsv(250, 54%, 69%)
CMYKcmyk(45.1%, 53.7%, 0%, 31.4%)
CIE-LABlab(40.35, 30.27, -48.36)
CIE-LCHlch(40.35, 57.06, 302.05°)
OKLaboklab(49.82% 0.0428 -0.1376)
OKLCHoklch(49.82% 0.144 287.3)
XYZxyz(15.5019, 11.4662, 41.9455)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6051AF #A0AF51
analogous
#5171AF #6051AF #8F51AF
triadic
#6051AF #AF6051 #51AF60
tetradic
#6051AF #AF5171 #A0AF51 #51AF8F
square
#6051AF #AF5171 #A0AF51 #51AF8F
split-complementary
#6051AF #AF8F51 #71AF51
monochromatic
#322A5C #493D85 #6051AF #867BC2 #ADA5D6

Accessibility & contrast

On white

6.38
#6051AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6051AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6051AF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6051AF#FFFFFF#000000##FFFFFF
##6051AF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B2
Deuteranopia (green-blind)
#225DAD
Tritanopia (blue-blind)
#486578
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6051af;
/* rgb */ color: rgb(96, 81, 175);
/* oklch */ color: oklch(49.8% 0.144 287.3);
Tailwind
colors: {
  custom: {
    50: '#9282c7',
    500: '#6051af',
    950: '#000000',
  },
}
SCSS
$custom: #6051af;
$custom-light: #9282c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6051af",
  "rgb": {
    "r": 96,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 249.574,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49817,
    "c": 0.14414,
    "h": 287.3
  },
  "luminance": 0.11467
}

Semantic roles & 50–950 ramp

primary
#6051AF
secondary
#BCC399
accent
#CD5BBB
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #6051AF

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

Preview Lab → · Contrast checker → · Palette generator →

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