#3022A0#3022A0

#3022A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.189 H 276.8°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#3022A0
RGBrgb(48, 34, 160)
HSLhsl(247, 65%, 38%)
HSVhsv(247, 79%, 63%)
CMYKcmyk(70%, 78.8%, 0%, 37.3%)
CIE-LABlab(24.67, 45.04, -65.10)
CIE-LCHlch(24.67, 79.16, 304.67°)
OKLaboklab(37.04% 0.0224 -0.1882)
OKLCHoklch(37.04% 0.189 276.8)
XYZxyz(8.1340, 4.3098, 33.6541)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3022A0 #92A022
analogous
#2253A0 #3022A0 #6F22A0
triadic
#3022A0 #A03022 #22A030
tetradic
#3022A0 #A02253 #92A022 #22A06F
square
#3022A0 #A02253 #92A022 #22A06F
split-complementary
#3022A0 #A06F22 #53A022
monochromatic
#120D3B #21176E #3022A0 #3F2DD2 #6D5FDD

Accessibility & contrast

On white

11.28
#3022A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3022A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3022A0
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3022A0#FFFFFF#000000##FFFFFF
##3022A01.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3022a0;
/* rgb */ color: rgb(48, 34, 160);
/* oklch */ color: oklch(37.0% 0.189 276.8);
Tailwind
colors: {
  custom: {
    50: '#7a60bd',
    500: '#3022a0',
    950: '#000000',
  },
}
SCSS
$custom: #3022a0;
$custom-light: #7a60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3022a0",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 246.667,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37042,
    "c": 0.18948,
    "h": 276.8
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#3022A0
secondary
#B7C25C
accent
#E840D5
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3022A0

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

Preview Lab → · Contrast checker → · Palette generator →

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