#3022A4#3022A4

#3022A4 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.194 H 276.3°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#3022A4
RGBrgb(48, 34, 164)
HSLhsl(246, 66%, 39%)
HSVhsv(246, 79%, 64%)
CMYKcmyk(70.7%, 79.3%, 0%, 35.7%)
CIE-LABlab(25.11, 46.29, -66.80)
CIE-LCHlch(25.11, 81.28, 304.72°)
OKLaboklab(37.48% 0.0213 -0.1931)
OKLCHoklch(37.48% 0.194 276.3)
XYZxyz(8.4896, 4.4520, 35.5267)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3022A4 #96A422
analogous
#2255A4 #3022A4 #7122A4
triadic
#3022A4 #A43022 #22A430
tetradic
#3022A4 #A42255 #96A422 #22A471
square
#3022A4 #A42255 #96A422 #22A471
split-complementary
#3022A4 #A47122 #55A422
monochromatic
#120D3F #211771 #3022A4 #412FD4 #6F62DE

Accessibility & contrast

On white

11.11
#3022A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3022A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3022A4
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3022A4#FFFFFF#000000##FFFFFF
##3022A41.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0036A2
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3022a4;
/* rgb */ color: rgb(48, 34, 164);
/* oklch */ color: oklch(37.5% 0.194 276.3);
Tailwind
colors: {
  custom: {
    50: '#7b61c0',
    500: '#3022a4',
    950: '#000000',
  },
}
SCSS
$custom: #3022a4;
$custom-light: #7b61c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3022a4",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 246.462,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37482,
    "c": 0.19427,
    "h": 276.3
  },
  "luminance": 0.04453
}

Semantic roles & 50–950 ramp

primary
#3022A4
secondary
#B9C45E
accent
#E93FD6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3022A4

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

Preview Lab → · Contrast checker → · Palette generator →

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