#3022B3#3022B3

#3022B3 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.2% C 0.212 H 274.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#3022B3
RGBrgb(48, 34, 179)
HSLhsl(246, 68%, 42%)
HSVhsv(246, 81%, 70%)
CMYKcmyk(73.2%, 81%, 0%, 29.8%)
CIE-LABlab(26.81, 50.93, -73.02)
CIE-LCHlch(26.81, 89.03, 304.89°)
OKLaboklab(39.16% 0.0174 -0.2112)
OKLCHoklch(39.16% 0.212 274.7)
XYZxyz(9.9249, 5.0261, 43.0862)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3022B3 #A5B322
analogous
#225DB3 #3022B3 #7922B3
triadic
#3022B3 #B33022 #22B330
tetradic
#3022B3 #B3225D #A5B322 #22B379
square
#3022B3 #B3225D #A5B322 #22B379
split-complementary
#3022B3 #B37922 #5DB322
monochromatic
#140E4C #221880 #3022B3 #4839D9 #786CE3

Accessibility & contrast

On white

10.47
#3022B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3022B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3022B3#FFFFFF#000000##FFFFFF
##3022B31.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B7
Deuteranopia (green-blind)
#0039B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3022b3;
/* rgb */ color: rgb(48, 34, 179);
/* oklch */ color: oklch(39.2% 0.212 274.7);
Tailwind
colors: {
  custom: {
    50: '#7e62cb',
    500: '#3022b3',
    950: '#000000',
  },
}
SCSS
$custom: #3022b3;
$custom-light: #7e62cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3022b3",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 245.793,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39159,
    "c": 0.21189,
    "h": 274.7
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#3022B3
secondary
#C0C968
accent
#EB3DDA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3022B3

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

Preview Lab → · Contrast checker → · Palette generator →

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