#3022A3#3022A3

#3022A3 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.4% C 0.193 H 276.4°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#3022A3
RGBrgb(48, 34, 163)
HSLhsl(247, 65%, 39%)
HSVhsv(247, 79%, 64%)
CMYKcmyk(70.6%, 79.1%, 0%, 36.1%)
CIE-LABlab(25.00, 45.98, -66.38)
CIE-LCHlch(25.00, 80.75, 304.71°)
OKLaboklab(37.37% 0.0216 -0.1919)
OKLCHoklch(37.37% 0.193 276.4)
XYZxyz(8.3997, 4.4160, 35.0529)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3022A3 #95A322
analogous
#2254A3 #3022A3 #7022A3
triadic
#3022A3 #A33022 #22A330
tetradic
#3022A3 #A32254 #95A322 #22A370
square
#3022A3 #A32254 #95A322 #22A370
split-complementary
#3022A3 #A37022 #54A322
monochromatic
#120D3E #211770 #3022A3 #412FD4 #6F61DE

Accessibility & contrast

On white

11.15
#3022A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3022A3
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3022A3#FFFFFF#000000##FFFFFF
##3022A31.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3022a3;
/* rgb */ color: rgb(48, 34, 163);
/* oklch */ color: oklch(37.4% 0.193 276.4);
Tailwind
colors: {
  custom: {
    50: '#7a60c0',
    500: '#3022a3',
    950: '#000000',
  },
}
SCSS
$custom: #3022a3;
$custom-light: #7a60c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3022a3",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 246.512,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37372,
    "c": 0.19308,
    "h": 276.4
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#3022A3
secondary
#B8C35E
accent
#E83FD6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3022A3

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

Preview Lab → · Contrast checker → · Palette generator →

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