#3020A5#3020A5

#3020A5 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.4% C 0.197 H 276.4°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#3020A5
RGBrgb(48, 32, 165)
HSLhsl(247, 68%, 39%)
HSVhsv(247, 81%, 65%)
CMYKcmyk(70.9%, 80.6%, 0%, 35.3%)
CIE-LABlab(24.88, 47.60, -67.79)
CIE-LCHlch(24.88, 82.84, 305.07°)
OKLaboklab(37.35% 0.022 -0.196)
OKLCHoklch(37.35% 0.197 276.4)
XYZxyz(8.5247, 4.3772, 35.9856)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3020A5 #95A520
analogous
#2052A5 #3020A5 #7220A5
triadic
#3020A5 #A53020 #20A530
tetradic
#3020A5 #A52052 #95A520 #20A572
square
#3020A5 #A52052 #95A520 #20A572
split-complementary
#3020A5 #A57220 #52A520
monochromatic
#120C3E #211672 #3020A5 #412CD6 #6F5FE0

Accessibility & contrast

On white

11.20
#3020A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3020A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3020A5
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3020A5#FFFFFF#000000##FFFFFF
##3020A51.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A9
Deuteranopia (green-blind)
#0035A3
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3020a5;
/* rgb */ color: rgb(48, 32, 165);
/* oklch */ color: oklch(37.4% 0.197 276.4);
Tailwind
colors: {
  custom: {
    50: '#7b60c1',
    500: '#3020a5',
    950: '#000000',
  },
}
SCSS
$custom: #3020a5;
$custom-light: #7b60c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3020a5",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 247.218,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37354,
    "c": 0.19718,
    "h": 276.4
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#3020A5
secondary
#B8C55C
accent
#EA3DD6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3020A5

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

Preview Lab → · Contrast checker → · Palette generator →

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