#3022AA#3022AA

#3022AA is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.1% C 0.201 H 275.6°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#3022AA
RGBrgb(48, 34, 170)
HSLhsl(246, 67%, 40%)
HSVhsv(246, 80%, 67%)
CMYKcmyk(71.8%, 80%, 0%, 33.3%)
CIE-LABlab(25.78, 48.16, -69.32)
CIE-LCHlch(25.78, 84.41, 304.79°)
OKLaboklab(38.15% 0.0198 -0.2004)
OKLCHoklch(38.15% 0.201 275.6)
XYZxyz(9.0443, 4.6738, 38.4479)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3022AA #9CAA22
analogous
#2258AA #3022AA #7422AA
triadic
#3022AA #AA3022 #22AA30
tetradic
#3022AA #AA2258 #9CAA22 #22AA74
square
#3022AA #AA2258 #9CAA22 #22AA74
split-complementary
#3022AA #AA7422 #58AA22
monochromatic
#130E44 #221877 #3022AA #4433D6 #7366E0

Accessibility & contrast

On white

10.85
#3022AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3022AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3022AA#FFFFFF#000000##FFFFFF
##3022AA1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3022aa;
/* rgb */ color: rgb(48, 34, 170);
/* oklch */ color: oklch(38.1% 0.201 275.6);
Tailwind
colors: {
  custom: {
    50: '#7c61c5',
    500: '#3022aa',
    950: '#000000',
  },
}
SCSS
$custom: #3022aa;
$custom-light: #7c61c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3022aa",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 246.176,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.38148,
    "c": 0.20138,
    "h": 275.6
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3022AA

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

Preview Lab → · Contrast checker → · Palette generator →

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