#3021AA#3021AA

#3021AA is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.202 H 275.7°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#3021AA
RGBrgb(48, 33, 170)
HSLhsl(247, 67%, 40%)
HSVhsv(247, 81%, 67%)
CMYKcmyk(71.8%, 80.6%, 0%, 33.3%)
CIE-LABlab(25.62, 48.65, -69.60)
CIE-LCHlch(25.62, 84.92, 304.96°)
OKLaboklab(38.03% 0.0202 -0.2012)
OKLCHoklch(38.03% 0.202 275.7)
XYZxyz(9.0161, 4.6175, 38.4385)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3021AA #9BAA21
analogous
#2157AA #3021AA #7421AA
triadic
#3021AA #AA3021 #21AA30
tetradic
#3021AA #AA2157 #9BAA21 #21AA74
square
#3021AA #AA2157 #9BAA21 #21AA74
split-complementary
#3021AA #AA7421 #57AA21
monochromatic
#130D43 #221777 #3021AA #4331D7 #7264E1

Accessibility & contrast

On white

10.92
#3021AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3021AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3021AA
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3021AA#FFFFFF#000000##FFFFFF
##3021AA1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3021aa;
/* rgb */ color: rgb(48, 33, 170);
/* oklch */ color: oklch(38.0% 0.202 275.7);
Tailwind
colors: {
  custom: {
    50: '#7c60c5',
    500: '#3021aa',
    950: '#000000',
  },
}
SCSS
$custom: #3021aa;
$custom-light: #7c60c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3021aa",
  "rgb": {
    "r": 48,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 246.569,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3803,
    "c": 0.20222,
    "h": 275.7
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#3021AA
secondary
#BBC661
accent
#EA3DD7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3021AA

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

Preview Lab → · Contrast checker → · Palette generator →

#3021AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva