#3020A0#3020A0

#3020A0 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.191 H 277.0°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#3020A0
RGBrgb(48, 32, 160)
HSLhsl(248, 67%, 38%)
HSVhsv(248, 80%, 63%)
CMYKcmyk(70%, 80%, 0%, 37.3%)
CIE-LABlab(24.32, 46.05, -65.69)
CIE-LCHlch(24.32, 80.22, 305.03°)
OKLaboklab(36.8% 0.0233 -0.1898)
OKLCHoklch(36.8% 0.191 277)
XYZxyz(8.0785, 4.1987, 33.6356)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3020A0 #90A020
analogous
#2050A0 #3020A0 #7020A0
triadic
#3020A0 #A03020 #20A030
tetradic
#3020A0 #A02050 #90A020 #20A070
square
#3020A0 #A02050 #90A020 #20A070
split-complementary
#3020A0 #A07020 #50A020
monochromatic
#110C3A #21166D #3020A0 #3F2AD3 #6C5CDE

Accessibility & contrast

On white

11.41
#3020A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3020A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3020A0
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3020A0#FFFFFF#000000##FFFFFF
##3020A01.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3020a0;
/* rgb */ color: rgb(48, 32, 160);
/* oklch */ color: oklch(36.8% 0.191 277.0);
Tailwind
colors: {
  custom: {
    50: '#7a5fbd',
    500: '#3020a0',
    950: '#000000',
  },
}
SCSS
$custom: #3020a0;
$custom-light: #7a5fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3020a0",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 247.5,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36796,
    "c": 0.19126,
    "h": 277
  },
  "luminance": 0.04199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3020A0

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

Preview Lab → · Contrast checker → · Palette generator →

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