#3020AC#3020AC

#3020AC is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.1% C 0.205 H 275.6°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#3020AC
RGBrgb(48, 32, 172)
HSLhsl(247, 69%, 40%)
HSVhsv(247, 81%, 67%)
CMYKcmyk(72.1%, 81.4%, 0%, 32.5%)
CIE-LABlab(25.68, 49.74, -70.70)
CIE-LCHlch(25.68, 86.44, 305.13°)
OKLaboklab(38.14% 0.02 -0.2044)
OKLCHoklch(38.14% 0.205 275.6)
XYZxyz(9.1794, 4.6391, 39.4334)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3020AC #9CAC20
analogous
#2056AC #3020AC #7620AC
triadic
#3020AC #AC3020 #20AC30
tetradic
#3020AC #AC2056 #9CAC20 #20AC76
square
#3020AC #AC2056 #9CAC20 #20AC76
split-complementary
#3020AC #AC7620 #56AC20
monochromatic
#130D45 #221678 #3020AC #4431D9 #7364E2

Accessibility & contrast

On white

10.89
#3020AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3020AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3020AC
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3020AC#FFFFFF#000000##FFFFFF
##3020AC1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3020ac;
/* rgb */ color: rgb(48, 32, 172);
/* oklch */ color: oklch(38.1% 0.205 275.6);
Tailwind
colors: {
  custom: {
    50: '#7d60c6',
    500: '#3020ac',
    950: '#000000',
  },
}
SCSS
$custom: #3020ac;
$custom-light: #7d60c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3020ac",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 246.857,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.38142,
    "c": 0.20536,
    "h": 275.6
  },
  "luminance": 0.0464
}

Semantic roles & 50–950 ramp

primary
#3020AC
secondary
#BCC760
accent
#EB3CD7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3020AC

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

Preview Lab → · Contrast checker → · Palette generator →

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