#3020A1#3020A1

#3020A1 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.9% C 0.192 H 276.9°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#3020A1
RGBrgb(48, 32, 161)
HSLhsl(247, 67%, 38%)
HSVhsv(247, 80%, 63%)
CMYKcmyk(70.2%, 80.1%, 0%, 36.9%)
CIE-LABlab(24.43, 46.36, -66.11)
CIE-LCHlch(24.43, 80.75, 305.04°)
OKLaboklab(36.91% 0.0231 -0.1911)
OKLCHoklch(36.91% 0.192 276.9)
XYZxyz(8.1664, 4.2339, 34.0982)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3020A1 #91A120
analogous
#2050A1 #3020A1 #7020A1
triadic
#3020A1 #A13020 #20A130
tetradic
#3020A1 #A12050 #91A120 #20A170
square
#3020A1 #A12050 #91A120 #20A170
split-complementary
#3020A1 #A17020 #50A120
monochromatic
#120C3B #21166E #3020A1 #3F2AD4 #6D5DDF

Accessibility & contrast

On white

11.37
#3020A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3020A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3020A1
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3020A1#FFFFFF#000000##FFFFFF
##3020A11.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00349F
Tritanopia (blue-blind)
#004761
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3020a1;
/* rgb */ color: rgb(48, 32, 161);
/* oklch */ color: oklch(36.9% 0.192 276.9);
Tailwind
colors: {
  custom: {
    50: '#7a5fbe',
    500: '#3020a1',
    950: '#000000',
  },
}
SCSS
$custom: #3020a1;
$custom-light: #7a5fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3020a1",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 247.442,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36907,
    "c": 0.19245,
    "h": 276.9
  },
  "luminance": 0.04235
}

Semantic roles & 50–950 ramp

primary
#3020A1
secondary
#B6C35A
accent
#EA3ED4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3020A1

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

Preview Lab → · Contrast checker → · Palette generator →

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