#3022AB#3022AB

#3022AB is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.3% C 0.203 H 275.5°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#3022AB
RGBrgb(48, 34, 171)
HSLhsl(246, 67%, 40%)
HSVhsv(246, 80%, 67%)
CMYKcmyk(71.9%, 80.1%, 0%, 32.9%)
CIE-LABlab(25.90, 48.47, -69.74)
CIE-LCHlch(25.90, 84.93, 304.80°)
OKLaboklab(38.26% 0.0195 -0.2016)
OKLCHoklch(38.26% 0.203 275.5)
XYZxyz(9.1392, 4.7118, 38.9480)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3022AB #9DAB22
analogous
#2259AB #3022AB #7422AB
triadic
#3022AB #AB3022 #22AB30
tetradic
#3022AB #AB2259 #9DAB22 #22AB74
square
#3022AB #AB2259 #9DAB22 #22AB74
split-complementary
#3022AB #AB7422 #59AB22
monochromatic
#130E45 #221878 #3022AB #4434D7 #7367E1

Accessibility & contrast

On white

10.81
#3022AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3022AB#FFFFFF#000000##FFFFFF
##3022AB1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AF
Deuteranopia (green-blind)
#0037A9
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3022ab;
/* rgb */ color: rgb(48, 34, 171);
/* oklch */ color: oklch(38.3% 0.203 275.5);
Tailwind
colors: {
  custom: {
    50: '#7c61c5',
    500: '#3022ab',
    950: '#000000',
  },
}
SCSS
$custom: #3022ab;
$custom-light: #7c61c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3022ab",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 171
  },
  "hsl": {
    "h": 246.131,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38259,
    "c": 0.20256,
    "h": 275.5
  },
  "luminance": 0.04713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3022AB

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

Preview Lab → · Contrast checker → · Palette generator →

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