#3020A3#3020A3

#3020A3 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.195 H 276.6°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#3020A3
RGBrgb(48, 32, 163)
HSLhsl(247, 67%, 38%)
HSVhsv(247, 80%, 64%)
CMYKcmyk(70.6%, 80.4%, 0%, 36.1%)
CIE-LABlab(24.66, 46.98, -66.95)
CIE-LCHlch(24.66, 81.79, 305.06°)
OKLaboklab(37.13% 0.0225 -0.1935)
OKLCHoklch(37.13% 0.195 276.6)
XYZxyz(8.3441, 4.3050, 35.0344)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3020A3 #93A320
analogous
#2052A3 #3020A3 #7120A3
triadic
#3020A3 #A33020 #20A330
tetradic
#3020A3 #A32052 #93A320 #20A371
square
#3020A3 #A32052 #93A320 #20A371
split-complementary
#3020A3 #A37120 #52A320
monochromatic
#120C3D #211670 #3020A3 #402BD5 #6E5EDF

Accessibility & contrast

On white

11.28
#3020A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3020A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3020A3
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3020A3#FFFFFF#000000##FFFFFF
##3020A31.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A7
Deuteranopia (green-blind)
#0035A1
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3020a3;
/* rgb */ color: rgb(48, 32, 163);
/* oklch */ color: oklch(37.1% 0.195 276.6);
Tailwind
colors: {
  custom: {
    50: '#7b5fc0',
    500: '#3020a3',
    950: '#000000',
  },
}
SCSS
$custom: #3020a3;
$custom-light: #7b5fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3020a3",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 163
  },
  "hsl": {
    "h": 247.328,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3713,
    "c": 0.19481,
    "h": 276.6
  },
  "luminance": 0.04306
}

Semantic roles & 50–950 ramp

primary
#3020A3
secondary
#B7C45B
accent
#EA3ED5
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3020A3

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

Preview Lab → · Contrast checker → · Palette generator →

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