#3020A8#3020A8

#3020A8 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.201 H 276.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#3020A8
RGBrgb(48, 32, 168)
HSLhsl(247, 68%, 39%)
HSVhsv(247, 81%, 66%)
CMYKcmyk(71.4%, 81%, 0%, 34.1%)
CIE-LABlab(25.22, 48.52, -69.04)
CIE-LCHlch(25.22, 84.39, 305.10°)
OKLaboklab(37.69% 0.0211 -0.1996)
OKLCHoklch(37.69% 0.201 276)
XYZxyz(8.8010, 4.4877, 37.4406)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3020A8 #98A820
analogous
#2054A8 #3020A8 #7420A8
triadic
#3020A8 #A83020 #20A830
tetradic
#3020A8 #A82054 #98A820 #20A874
square
#3020A8 #A82054 #98A820 #20A874
split-complementary
#3020A8 #A87420 #54A820
monochromatic
#130C41 #211675 #3020A8 #422ED7 #7061E1

Accessibility & contrast

On white

11.07
#3020A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3020A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3020A8
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3020A8#FFFFFF#000000##FFFFFF
##3020A81.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3020a8;
/* rgb */ color: rgb(48, 32, 168);
/* oklch */ color: oklch(37.7% 0.201 276.0);
Tailwind
colors: {
  custom: {
    50: '#7c60c3',
    500: '#3020a8',
    950: '#000000',
  },
}
SCSS
$custom: #3020a8;
$custom-light: #7c60c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3020a8",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 247.059,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37691,
    "c": 0.2007,
    "h": 276
  },
  "luminance": 0.04489
}

Semantic roles & 50–950 ramp

primary
#3020A8
secondary
#BAC65E
accent
#EB3DD6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3020A8

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

Preview Lab → · Contrast checker → · Palette generator →

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