#3020BC#3020BC

#3020BC is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 40.0% C 0.224 H 274.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#3020BC
RGBrgb(48, 32, 188)
HSLhsl(246, 71%, 43%)
HSVhsv(246, 83%, 74%)
CMYKcmyk(74.5%, 83%, 0%, 26.3%)
CIE-LABlab(27.55, 54.54, -77.15)
CIE-LCHlch(27.55, 94.48, 305.26°)
OKLaboklab(39.97% 0.0156 -0.2231)
OKLCHoklch(39.97% 0.224 274)
XYZxyz(10.8095, 5.2911, 48.0188)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3020BC #ACBC20
analogous
#205EBC #3020BC #7E20BC
triadic
#3020BC #BC3020 #20BC30
tetradic
#3020BC #BC205E #ACBC20 #20BC7E
square
#3020BC #BC205E #ACBC20 #20BC7E
split-complementary
#3020BC #BC7E20 #5EBC20
monochromatic
#150E53 #231788 #3020BC #4C3BDE #7C70E7

Accessibility & contrast

On white

10.20
#3020BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3020BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3020BC
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3020BC#FFFFFF#000000##FFFFFF
##3020BC1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C0
Deuteranopia (green-blind)
#003AB9
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3020bc;
/* rgb */ color: rgb(48, 32, 188);
/* oklch */ color: oklch(40.0% 0.224 274.0);
Tailwind
colors: {
  custom: {
    50: '#8061d2',
    500: '#3020bc',
    950: '#000000',
  },
}
SCSS
$custom: #3020bc;
$custom-light: #8061d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3020bc",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 188
  },
  "hsl": {
    "h": 246.154,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39974,
    "c": 0.22365,
    "h": 274
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#3020BC
secondary
#C3CD6B
accent
#EE3ADB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #3020BC

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

Preview Lab → · Contrast checker → · Palette generator →

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