#6150CB#6150CB

#6150CB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.8% C 0.183 H 284.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6150CB
RGBrgb(97, 80, 203)
HSLhsl(248, 54%, 55%)
HSVhsv(248, 61%, 80%)
CMYKcmyk(52.2%, 60.6%, 0%, 20.4%)
CIE-LABlab(42.14, 39.56, -61.83)
CIE-LCHlch(42.14, 73.40, 302.61°)
OKLaboklab(51.77% 0.0452 -0.1772)
OKLCHoklch(51.77% 0.183 284.3)
XYZxyz(18.5747, 12.5895, 57.9396)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6150CB #BACB50
analogous
#507CCB #6150CB #9F50CB
triadic
#6150CB #CB6150 #50CB61
tetradic
#6150CB #CB507C #BACB50 #50CB9F
square
#6150CB #CB507C #BACB50 #50CB9F
split-complementary
#6150CB #CB9F50 #7CCB50
monochromatic
#31257C #4333AB #6150CB #8C7FD9 #B6AEE7

Accessibility & contrast

On white

5.97
#6150CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6150CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6150CB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6150CB#FFFFFF#000000##FFFFFF
##6150CB1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#366D86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6150cb;
/* rgb */ color: rgb(97, 80, 203);
/* oklch */ color: oklch(51.8% 0.183 284.3);
Tailwind
colors: {
  custom: {
    50: '#9682dc',
    500: '#6150cb',
    950: '#000000',
  },
}
SCSS
$custom: #6150cb;
$custom-light: #9682dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6150cb",
  "rgb": {
    "r": 97,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 248.293,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51769,
    "c": 0.18289,
    "h": 284.3
  },
  "luminance": 0.12591
}

Semantic roles & 50–950 ramp

primary
#6150CB
secondary
#CED5A2
accent
#DE4AC9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6150CB

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

Preview Lab → · Contrast checker → · Palette generator →

#6150CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva