#3020C1#3020C1

#3020C1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.6% C 0.229 H 273.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#3020C1
RGBrgb(48, 32, 193)
HSLhsl(246, 72%, 44%)
HSVhsv(246, 83%, 76%)
CMYKcmyk(75.1%, 83.4%, 0%, 24.3%)
CIE-LABlab(28.14, 56.01, -79.12)
CIE-LCHlch(28.14, 96.94, 305.29°)
OKLaboklab(40.55% 0.0143 -0.2288)
OKLCHoklch(40.55% 0.229 273.6)
XYZxyz(11.3579, 5.5105, 50.9068)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3020C1 #B1C120
analogous
#2060C1 #3020C1 #8120C1
triadic
#3020C1 #C13020 #20C130
tetradic
#3020C1 #C12060 #B1C120 #20C181
square
#3020C1 #C12060 #B1C120 #20C181
split-complementary
#3020C1 #C18120 #60C120
monochromatic
#160F58 #23178D #3020C1 #4F3FDF #7F74E8

Accessibility & contrast

On white

9.99
#3020C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3020C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3020C1
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3020C1#FFFFFF#000000##FFFFFF
##3020C11.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#003BBE
Tritanopia (blue-blind)
#005573
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3020c1;
/* rgb */ color: rgb(48, 32, 193);
/* oklch */ color: oklch(40.6% 0.229 273.6);
Tailwind
colors: {
  custom: {
    50: '#8162d5',
    500: '#3020c1',
    950: '#000000',
  },
}
SCSS
$custom: #3020c1;
$custom-light: #8162d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3020c1",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 193
  },
  "hsl": {
    "h": 245.963,
    "s": 71.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40553,
    "c": 0.22925,
    "h": 273.6
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#3020C1
secondary
#C5CF6E
accent
#EE3ADC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #3020C1

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

Preview Lab → · Contrast checker → · Palette generator →

#3020C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva