#3022A2#3022A2

#3022A2 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.192 H 276.5°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#3022A2
RGBrgb(48, 34, 162)
HSLhsl(247, 65%, 38%)
HSVhsv(247, 79%, 64%)
CMYKcmyk(70.4%, 79%, 0%, 36.5%)
CIE-LABlab(24.89, 45.67, -65.96)
CIE-LCHlch(24.89, 80.22, 304.70°)
OKLaboklab(37.26% 0.0219 -0.1906)
OKLCHoklch(37.26% 0.192 276.5)
XYZxyz(8.3104, 4.3803, 34.5829)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3022A2 #94A222
analogous
#2254A2 #3022A2 #7022A2
triadic
#3022A2 #A23022 #22A230
tetradic
#3022A2 #A22254 #94A222 #22A270
square
#3022A2 #A22254 #94A222 #22A270
split-complementary
#3022A2 #A27022 #54A222
monochromatic
#120D3D #21176F #3022A2 #402ED3 #6E61DE

Accessibility & contrast

On white

11.19
#3022A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3022A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3022A2
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3022A2#FFFFFF#000000##FFFFFF
##3022A21.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A6
Deuteranopia (green-blind)
#0035A0
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3022a2;
/* rgb */ color: rgb(48, 34, 162);
/* oklch */ color: oklch(37.3% 0.192 276.5);
Tailwind
colors: {
  custom: {
    50: '#7a60bf',
    500: '#3022a2',
    950: '#000000',
  },
}
SCSS
$custom: #3022a2;
$custom-light: #7a60bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3022a2",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 246.563,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37262,
    "c": 0.19189,
    "h": 276.5
  },
  "luminance": 0.04381
}

Semantic roles & 50–950 ramp

primary
#3022A2
secondary
#B8C35D
accent
#E840D6
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3022A2

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

Preview Lab → · Contrast checker → · Palette generator →

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