#3022A8#3022A8

#3022A8 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.9% C 0.199 H 275.9°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#3022A8
RGBrgb(48, 34, 168)
HSLhsl(246, 66%, 40%)
HSVhsv(246, 80%, 66%)
CMYKcmyk(71.4%, 79.8%, 0%, 34.1%)
CIE-LABlab(25.56, 47.54, -68.49)
CIE-LCHlch(25.56, 83.37, 304.77°)
OKLaboklab(37.92% 0.0203 -0.198)
OKLCHoklch(37.92% 0.199 275.9)
XYZxyz(8.8565, 4.5987, 37.4591)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3022A8 #9AA822
analogous
#2257A8 #3022A8 #7322A8
triadic
#3022A8 #A83022 #22A830
tetradic
#3022A8 #A82257 #9AA822 #22A873
square
#3022A8 #A82257 #9AA822 #22A873
split-complementary
#3022A8 #A87322 #57A822
monochromatic
#130D42 #211875 #3022A8 #4332D5 #7265E0

Accessibility & contrast

On white

10.94
#3022A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3022A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3022A8#FFFFFF#000000##FFFFFF
##3022A81.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3022a8;
/* rgb */ color: rgb(48, 34, 168);
/* oklch */ color: oklch(37.9% 0.199 275.9);
Tailwind
colors: {
  custom: {
    50: '#7b61c3',
    500: '#3022a8',
    950: '#000000',
  },
}
SCSS
$custom: #3022a8;
$custom-light: #7b61c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3022a8",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 246.269,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37925,
    "c": 0.19903,
    "h": 275.9
  },
  "luminance": 0.046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3022A8

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

Preview Lab → · Contrast checker → · Palette generator →

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