#3022A6#3022A6

#3022A6 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.7% C 0.197 H 276.1°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#3022A6
RGBrgb(48, 34, 166)
HSLhsl(246, 66%, 39%)
HSVhsv(246, 80%, 65%)
CMYKcmyk(71.1%, 79.5%, 0%, 34.9%)
CIE-LABlab(25.34, 46.92, -67.65)
CIE-LCHlch(25.34, 82.33, 304.75°)
OKLaboklab(37.7% 0.0208 -0.1955)
OKLCHoklch(37.7% 0.197 276.1)
XYZxyz(8.6716, 4.5248, 36.4854)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3022A6 #98A622
analogous
#2256A6 #3022A6 #7222A6
triadic
#3022A6 #A63022 #22A630
tetradic
#3022A6 #A62256 #98A622 #22A672
square
#3022A6 #A62256 #98A622 #22A672
split-complementary
#3022A6 #A67222 #56A622
monochromatic
#130D40 #211873 #3022A6 #4230D5 #7063DF

Accessibility & contrast

On white

11.02
#3022A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3022A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3022A6#FFFFFF#000000##FFFFFF
##3022A61.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0036A4
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3022a6;
/* rgb */ color: rgb(48, 34, 166);
/* oklch */ color: oklch(37.7% 0.197 276.1);
Tailwind
colors: {
  custom: {
    50: '#7b61c2',
    500: '#3022a6',
    950: '#000000',
  },
}
SCSS
$custom: #3022a6;
$custom-light: #7b61c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3022a6",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 246.364,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37703,
    "c": 0.19665,
    "h": 276.1
  },
  "luminance": 0.04526
}

Semantic roles & 50–950 ramp

primary
#3022A6
secondary
#BAC45F
accent
#E93FD7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3022A6

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

Preview Lab → · Contrast checker → · Palette generator →

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