#3021BB#3021BB

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

Color values

HEX#3021BB
RGBrgb(48, 33, 187)
HSLhsl(246, 70%, 43%)
HSVhsv(246, 82%, 73%)
CMYKcmyk(74.3%, 82.4%, 0%, 26.7%)
CIE-LABlab(27.58, 53.80, -76.51)
CIE-LCHlch(27.58, 93.53, 305.12°)
OKLaboklab(39.96% 0.0156 -0.2212)
OKLCHoklch(39.96% 0.222 274)
XYZxyz(10.7294, 5.3028, 47.4622)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3021BB #ACBB21
analogous
#215FBB #3021BB #7D21BB
triadic
#3021BB #BB3021 #21BB30
tetradic
#3021BB #BB215F #ACBB21 #21BB7D
square
#3021BB #BB215F #ACBB21 #21BB7D
split-complementary
#3021BB #BB7D21 #5FBB21
monochromatic
#150F53 #231887 #3021BB #4C3DDD #7C71E6

Accessibility & contrast

On white

10.19
#3021BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3021BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3021BB#FFFFFF#000000##FFFFFF
##3021BB1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3021bb;
/* rgb */ color: rgb(48, 33, 187);
/* oklch */ color: oklch(40.0% 0.222 274.0);
Tailwind
colors: {
  custom: {
    50: '#8062d1',
    500: '#3021bb',
    950: '#000000',
  },
}
SCSS
$custom: #3021bb;
$custom-light: #8062d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3021bb",
  "rgb": {
    "r": 48,
    "g": 33,
    "b": 187
  },
  "hsl": {
    "h": 245.844,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39962,
    "c": 0.22179,
    "h": 274
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#3021BB
secondary
#C3CC6B
accent
#ED3BDB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #3021BB

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

Preview Lab → · Contrast checker → · Palette generator →

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