#3021BD#3021BD

#3021BD is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.2% C 0.224 H 273.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#3021BD
RGBrgb(48, 33, 189)
HSLhsl(246, 70%, 44%)
HSVhsv(246, 83%, 74%)
CMYKcmyk(74.6%, 82.5%, 0%, 25.9%)
CIE-LABlab(27.82, 54.39, -77.30)
CIE-LCHlch(27.82, 94.52, 305.13°)
OKLaboklab(40.19% 0.0151 -0.2235)
OKLCHoklch(40.19% 0.224 273.9)
XYZxyz(10.9450, 5.3891, 48.5976)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3021BD #AEBD21
analogous
#2160BD #3021BD #7E21BD
triadic
#3021BD #BD3021 #21BD30
tetradic
#3021BD #BD2160 #AEBD21 #21BD7E
square
#3021BD #BD2160 #AEBD21 #21BD7E
split-complementary
#3021BD #BD7E21 #60BD21
monochromatic
#160F55 #231889 #3021BD #4D3EDD #7D72E6

Accessibility & contrast

On white

10.11
#3021BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3021BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3021BD#FFFFFF#000000##FFFFFF
##3021BD1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#003ABA
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3021bd;
/* rgb */ color: rgb(48, 33, 189);
/* oklch */ color: oklch(40.2% 0.224 273.9);
Tailwind
colors: {
  custom: {
    50: '#8062d2',
    500: '#3021bd',
    950: '#000000',
  },
}
SCSS
$custom: #3021bd;
$custom-light: #8062d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3021bd",
  "rgb": {
    "r": 48,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 245.769,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40192,
    "c": 0.22406,
    "h": 273.9
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#3021BD
secondary
#C4CD6D
accent
#ED3BDC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #3021BD

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

Preview Lab → · Contrast checker → · Palette generator →

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