#3022AC#3022AC

#3022AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.204 H 275.4°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#3022AC
RGBrgb(48, 34, 172)
HSLhsl(246, 67%, 40%)
HSVhsv(246, 80%, 67%)
CMYKcmyk(72.1%, 80.2%, 0%, 32.5%)
CIE-LABlab(26.01, 48.78, -70.15)
CIE-LCHlch(26.01, 85.44, 304.81°)
OKLaboklab(38.37% 0.0192 -0.2028)
OKLCHoklch(38.37% 0.204 275.4)
XYZxyz(9.2349, 4.7501, 39.4519)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3022AC #9EAC22
analogous
#2259AC #3022AC #7522AC
triadic
#3022AC #AC3022 #22AC30
tetradic
#3022AC #AC2259 #9EAC22 #22AC75
square
#3022AC #AC2259 #9EAC22 #22AC75
split-complementary
#3022AC #AC7522 #59AC22
monochromatic
#130E46 #221879 #3022AC #4534D7 #7467E1

Accessibility & contrast

On white

10.77
#3022AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3022AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3022AC
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3022AC#FFFFFF#000000##FFFFFF
##3022AC1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3022ac;
/* rgb */ color: rgb(48, 34, 172);
/* oklch */ color: oklch(38.4% 0.204 275.4);
Tailwind
colors: {
  custom: {
    50: '#7c61c6',
    500: '#3022ac',
    950: '#000000',
  },
}
SCSS
$custom: #3022ac;
$custom-light: #7c61c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3022ac",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 246.087,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38371,
    "c": 0.20373,
    "h": 275.4
  },
  "luminance": 0.04751
}

Semantic roles & 50–950 ramp

primary
#3022AC
secondary
#BDC763
accent
#EA3ED8
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3022AC

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

Preview Lab → · Contrast checker → · Palette generator →

#3022AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva